{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "005a773e",
   "metadata": {},
   "outputs": [],
   "source": [
    "9月8日和9月13日：\n",
    "66\n",
    "['baoyin-S-Im9-22-J-Im9-68', 'fanghao-J-Im23-89', 'fangtianming-S-Im15-30-J-Im15-65', 'fanxinan-S-Im16-36-J-Im16-30', 'gongyongfa-S-Im18-34-J-Im18-87', 'guanxujun-S-Im25-35-J-Im25-87', 'guquankang-J-Im18-69', 'heguoyu-J-Im36-141', 'heyuexiang-J-Im18-76', 'huajin-J-Im30-67', 'huangxihong-J-Im27-136', 'laiguizhen-J-Im38-121', 'laixuexiang-J-Im33-148', 'lanshaomei-S-Im20-31-J-Im20-79', 'leitufa-S-Im30-60-J-Im30-117', 'leixiaoying-S-Im18-26-J-18-71', 'lianzhaozhen-S-Im23-30-J-Im23-84', 'ligang-S-Im33-36', 'lingshounv-S-Im18-28-J-Im18-76', 'liwenjun-J-Im33-132', 'liyehua-S-Im30-47-J-Im30-131', 'louyidong-S-Im38-58-J-Im38-133', 'luzhiping-S-Im25-35-J-Im25-54', 'lvxiangshen-J-Im32-139', 'maliwei-S-Im30-48-J-Im30-101', 'penggaofeng-S-Im28-36', 'pengzhengjiang-J-Im38-160', 'ruweiping-S-Im52-63-J-Im52-94', 'shenjie-S-Im39-59-J-Im39-85', 'tangabiao-S-Im41-49-J-Im41-138', 'tongjinglin-J-Im36-146', 'wangchenrong-S-Im18-24-J-Im18-38', 'wangjiangwei-J-Im37-143', 'wangyaotang-J-Im31-100', 'wangzhuxi-J-Im25-144', 'wuyingbo-J-Im36-98', 'wuyueming-J-Im36-138', 'xiechangyou-S-Im22-31-J-Im22-84', 'xuanhuili-J-Im30-135', 'xuhong-S-Im23-38-J-Im23-40', 'yangen-J-Im61-183', 'yanglanfen-S-Im19-33', 'yangmin-J-Im37-150', 'yangxiufu-S-Im25-37-J-Im25-29', 'yangxiulian-S-Im20-26-J-Im20-44', 'yangyuexian-S-Im38-63', 'yaojianmin-S-Im20-29-J-Im20-86', 'yepeng-J-Im26-125', 'yinshixiu-S-Im23-25-J-Im23-79', 'zhanfangai-S-Im17-23-J-Im17-32', 'zhangboqian-S-Im22-32-J-Im22-88', 'zhangfuyang-S-Im15-20-J-Im15-87', 'zhangguangming-J-21-138', 'zhanghaitao-S-Im25-49-J-Im25-145', 'zhangshenxiang-J-Im41-83', 'zhangyunqin-S-Im14-25-J-Im14-64', 'zhaozhengxing-J-Im35-99', 'zhengjiyou-J-Im28-136', 'zhongxuefang-S-Im19-34-J-Im19-72', 'zhoufeng-S-Im35-40-J-Im35-147', 'zhouliang-J-Im47-123', 'zhouyingnan-J-Im47-125', 'zhuhancheng-S-Im27-36-J-Im27-86', 'zhuseng-S-Im24-31-J-Im24-105', 'zhuyongfu-J-Im22-80', 'zongminghui-S-Im18-25-J-Im18-81']\n",
    "\n",
    "******Processing baoyin-S-Im9-22-J-Im9-68******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：baoyin-S-Im9-22-J-Im9-68_0019.txt\n",
    "Delete crop_path\n",
    "******Processing caijilu-J-Im41-87******\n",
    "******Processing caimeiju-J-Im21-81******\n",
    "******Processing caiweiguang-J-Im35-152******\n",
    "******Processing caiying-J-Im34-52******\n",
    "******Processing chenaijun-S-Im25-38-J-Im25-85******\n",
    "******Processing chenazhao-S-Im17-30******\n",
    "******Processing chenbo-S-Im24-45-J-Im24-97******\n",
    "******Processing chenfujun-J-Im43-100******\n",
    "******Processing chengdazhong-J-Im24-38******\n",
    "******Processing chenggang-J-Im18-81******\n",
    "******Processing chenglongdeng-S-Im21-33-J-Im21-78******\n",
    "******Processing chengshizheng-J-Im30-145******\n",
    "******Processing chenguorong-J-Im18-77******\n",
    "******Processing chenjian-J-Im14-81******\n",
    "******Processing chenjinfa-J-Im34-105******\n",
    "******Processing chenjuli-J-Im18-49******\n",
    "******Processing chenjun-J-Im33-137******\n",
    "******Processing chenlibo-S-Im39-57******\n",
    "******Processing chenlili-S-Im18-24-J-Im18-74******\n",
    "******Processing chenmimao-S-Im32-40******\n",
    "******Processing chenmin-J-Im26-67******\n",
    "******Processing chenping-J-Im23-88******\n",
    "******Processing chenqiusheng-J-Im34-143******\n",
    "******Processing chenrugu-J-Im21-79******\n",
    "******Processing chensheng-J-Im31-91******\n",
    "******Processing chenweimin-J-Im20-36******\n",
    "******Processing chenwenhua-J-Im41-158******\n",
    "******Processing chenxiaoxiang-J-Im23-88******\n",
    "******Processing chenxuehua-S-Im17-27-J-Im17-35******\n",
    "******Processing chenyicong-J-Im17-58******\n",
    "******Processing chiyanfei-J-Im20-83******\n",
    "******Processing chugentang-J-Im19-80******\n",
    "******Processing chujiancheng-J-Im45-122******\n",
    "******Processing daizuokou-J-Im19-74******\n",
    "******Processing dingliyun-J-Im19-57******\n",
    "******Processing dingzhiqun-S-Im21-29******\n",
    "******Processing dongzhigen-J-Im22-102******\n",
    "******Processing fanghao-J-Im23-89******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/fanghao-J-Im23-89/labels/fanghao-J-Im23-89_0075.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/fanghao-J-Im23-89/labels/fanghao-J-Im23-89_0085.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：fangtianming-S-Im15-30-J-Im15-65_0014.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：fangtianming-S-Im15-30-J-Im15-65_0015.txt\n",
    "Delete crop_path\n",
    "******Processing fangtianming-S-Im15-30-J-Im15-65******\n",
    "Delete crop_path\n",
    "******Processing fanlanhua-J-Im26-116******\n",
    "******Processing fanxinan-S-Im16-36-J-Im16-30******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：fanxinan-S-Im16-36-J-Im16-30_0015.txt\n",
    "Delete crop_path\n",
    "******Processing gaosheng-J-Im19-67******\n",
    "******Processing gaoxiangqin-J-Im24-75******\n",
    "******Processing gongyongfa-S-Im18-34-J-Im18-87******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：gongyongfa-S-Im18-34-J-Im18-87_0017.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.223633, 0.382812)出界：gongyongfa-S-Im18-34-J-Im18-87_0057.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.216797, 0.375977)出界：gongyongfa-S-Im18-34-J-Im18-87_0058.txt\n",
    "Delete crop_path\n",
    "******Processing guanxujun-S-Im25-35-J-Im25-87******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/guanxujun-S-Im25-35-J-Im25-87/labels/guanxujun-S-Im25-35-J-Im25-87_0045.txt'\n",
    "Delete crop_path\n",
    "******Processing guoheying-J-Im32-127******\n",
    "******Processing guojianfu-J-Im32-100******\n",
    "******Processing guquankang-J-Im18-69******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/guquankang-J-Im18-69/labels/guquankang-J-Im18-69_0064.txt'\n",
    "Delete crop_path\n",
    "******Processing hanchun-J-Im20-86******\n",
    "******Processing heguoyu-J-Im36-141******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/heguoyu-J-Im36-141/labels/heguoyu-J-Im36-141_0128.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/heguoyu-J-Im36-141/labels/heguoyu-J-Im36-141_0130.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/heguoyu-J-Im36-141/labels/heguoyu-J-Im36-141_0135.txt'\n",
    "Delete crop_path\n",
    "******Processing hexingwen-S-Im25-35-J-Im25-93******\n",
    "******Processing heyuexiang-J-Im18-76******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/heyuexiang-J-Im18-76/labels/heyuexiang-J-Im18-76_0061.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/heyuexiang-J-Im18-76/labels/heyuexiang-J-Im18-76_0071.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/heyuexiang-J-Im18-76/labels/heyuexiang-J-Im18-76_0072.txt'\n",
    "Delete crop_path\n",
    "******Processing hezhangquan-J-Im33-58******\n",
    "******Processing hongjinjun-S-Im24-28-J-Im24-83******\n",
    "******Processing hongzhimin-S-Im30-39-J-30-144******\n",
    "******Processing huajin-J-Im30-67******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/huajin-J-Im30-67/labels/huajin-J-Im30-67_0042.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/huajin-J-Im30-67/labels/huajin-J-Im30-67_0044.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/huajin-J-Im30-67/labels/huajin-J-Im30-67_0045.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/huajin-J-Im30-67/labels/huajin-J-Im30-67_0058.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/huajin-J-Im30-67/labels/huajin-J-Im30-67_0063.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/huajin-J-Im30-67/labels/huajin-J-Im30-67_0065.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/huajin-J-Im30-67/labels/huajin-J-Im30-67_0066.txt'\n",
    "Delete crop_path\n",
    "******Processing huangdebing-S-Im40-48-J-Im33-138******\n",
    "******Processing huanghai-S-Im19-29-J-Im19-80******\n",
    "******Processing huangqiang-J-Im42-147******\n",
    "******Processing huangsuyue-J-Im21-41******\n",
    "******Processing huangxiansheng-J-Im25-59******\n",
    "******Processing huangxihong-J-Im27-136******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/huangxihong-J-Im27-136/labels/huangxihong-J-Im27-136_0131.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/huangxihong-J-Im27-136/labels/huangxihong-J-Im27-136_0132.txt'\n",
    "Delete crop_path\n",
    "******Processing huangyong-J-Im18-127******\n",
    "******Processing huangyongliang-J-Im16-81******\n",
    "******Processing huchaoming-J-Im43-126******\n",
    "******Processing huleijun-J-Im25-141******\n",
    "******Processing hupingli-J-Im18-69******\n",
    "******Processing huweibang-S-Im25-30-J-Im25-79******\n",
    "******Processing huxiaomei-S-Im21-24******\n",
    "******Processing jiadeen-J-Im34-148******\n",
    "******Processing jiangboming-J-Im33-40******\n",
    "******Processing jiangdapeng-J-Im29-136******\n",
    "******Processing jiangjianchun-J-Im31-151******\n",
    "******Processing jiangwangchun-J-Im30-103******\n",
    "******Processing jihongke-S-Im20-24-J-Im20-86******\n",
    "******Processing jilixian-J-Im34-108******\n",
    "******Processing jinfajun-J-Im22-72******\n",
    "******Processing jinzhangbing-J-Im32-130******\n",
    "******Processing jiushan-S-Im21-30-J-Im21-82******\n",
    "******Processing laiguizhen-J-Im38-121******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/laiguizhen-J-Im38-121/labels/laiguizhen-J-Im38-121_0065.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/laiguizhen-J-Im38-121/labels/laiguizhen-J-Im38-121_0102.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/laiguizhen-J-Im38-121/labels/laiguizhen-J-Im38-121_0103.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/laiguizhen-J-Im38-121/labels/laiguizhen-J-Im38-121_0114.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/laiguizhen-J-Im38-121/labels/laiguizhen-J-Im38-121_0115.txt'\n",
    "Delete crop_path\n",
    "******Processing laixuexiang-J-Im33-148******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/laixuexiang-J-Im33-148/labels/laixuexiang-J-Im33-148_0062.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/laixuexiang-J-Im33-148/labels/laixuexiang-J-Im33-148_0112.txt'\n",
    "Delete crop_path\n",
    "******Processing langhongwei-J-Im24-82******\n",
    "******Processing lanshaomei-S-Im20-31-J-Im20-79******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/lanshaomei-S-Im20-31-J-Im20-79/labels/lanshaomei-S-Im20-31-J-Im20-79_0019.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/lanshaomei-S-Im20-31-J-Im20-79/labels/lanshaomei-S-Im20-31-J-Im20-79_0019.txt'\n",
    "Delete crop_path\n",
    "******Processing leitufa-S-Im30-60-J-Im30-117******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：leitufa-S-Im30-60-J-Im30-117_0029.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：leitufa-S-Im30-60-J-Im30-117_0030.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：leitufa-S-Im30-60-J-Im30-117_0055.txt\n",
    "Delete crop_path\n",
    "******Processing leixiaoying-S-Im18-26-J-18-71******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：leixiaoying-S-Im18-26-J-18-71_0018.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：leixiaoying-S-Im18-26-J-18-71_0019.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：leixiaoying-S-Im18-26-J-18-71_0020.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：leixiaoying-S-Im18-26-J-18-71_0021.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：leixiaoying-S-Im18-26-J-18-71_0022.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：leixiaoying-S-Im18-26-J-18-71_0023.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：leixiaoying-S-Im18-26-J-18-71_0024.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：leixiaoying-S-Im18-26-J-18-71_0025.txt\n",
    "Delete crop_path\n",
    "******Processing liangjianhua-J-Im18-75******\n",
    "******Processing lianzhaozhen-S-Im23-30-J-Im23-84******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/lianzhaozhen-S-Im23-30-J-Im23-84/labels/lianzhaozhen-S-Im23-30-J-Im23-84_0074.txt'\n",
    "Delete crop_path\n",
    "******Processing lidaoheng-S-Im22-36-J-Im22-92******\n",
    "******Processing ligang-S-Im33-36******\n",
    "Delete crop_path\n",
    "******Processing lihuanhuan-S-Im20-28-J-Im20-59******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：ligang-S-Im33-36_0033.txt\n",
    "******Processing lijianming-J-Im32-124******\n",
    "******Processing lingenqiang-S-Im30-39******\n",
    "******Processing lingshounv-S-Im18-28-J-Im18-76******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/lingshounv-S-Im18-28-J-Im18-76/labels/lingshounv-S-Im18-28-J-Im18-76_0073.txt'\n",
    "Delete crop_path\n",
    "******Processing liukesheng-J-Im30-99******\n",
    "******Processing liuyunfei-J-Im40-95******\n",
    "******Processing liwenjun-J-Im33-132******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/liwenjun-J-Im33-132/labels/liwenjun-J-Im33-132_0116.txt'\n",
    "Delete crop_path\n",
    "******Processing lixueyong-J-Im25-31******\n",
    "******Processing liyehua-S-Im30-47-J-Im30-131******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/liyehua-S-Im30-47-J-Im30-131/labels/liyehua-S-Im30-47-J-Im30-131_0106.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/liyehua-S-Im30-47-J-Im30-131/labels/liyehua-S-Im30-47-J-Im30-131_0107.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/liyehua-S-Im30-47-J-Im30-131/labels/liyehua-S-Im30-47-J-Im30-131_0108.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/liyehua-S-Im30-47-J-Im30-131/labels/liyehua-S-Im30-47-J-Im30-131_0109.txt'\n",
    "Delete crop_path\n",
    "******Processing lizhongliang-J-Im19-86******\n",
    "******Processing loulinhua-S-Im27-30******\n",
    "******Processing louyidong-S-Im38-58-J-Im38-133******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/louyidong-S-Im38-58-J-Im38-133/labels/louyidong-S-Im38-58-J-Im38-133_0093.txt'\n",
    "Delete crop_path\n",
    "******Processing lufeng-J-Im28-103******\n",
    "******Processing luguolin-J-Im33-40******\n",
    "******Processing luojun-J-Im22-81******\n",
    "******Processing luoyunshen-J-Im29-94******\n",
    "******Processing luzhiping-S-Im25-35-J-Im25-54******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：luzhiping-S-Im25-35-J-Im25-54_0034.txt\n",
    "Delete crop_path\n",
    "******Processing lvguanyang-J-Im22-60******\n",
    "******Processing lvrongling-J-Im26-86******\n",
    "******Processing lvshibiao-J-Im20-76******\n",
    "******Processing lvxiangshen-J-Im32-139******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.0224609, 0.601562)出界：lvxiangshen-J-Im32-139_0041.txt\n",
    "Delete crop_path\n",
    "******Processing maliwei-S-Im30-48-J-Im30-101******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：maliwei-S-Im30-48-J-Im30-101_0045.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：maliwei-S-Im30-48-J-Im30-101_0046.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：maliwei-S-Im30-48-J-Im30-101_0047.txt\n",
    "Delete crop_path\n",
    "******Processing maxianfeng-J-Im37-64******\n",
    "******Processing mayongzhong-J-Im22-86******\n",
    "******Processing miqiurao-S-Im22-34--J-Im22-85******\n",
    "******Processing niyongru-S-Im38-43-J-Im38-148******\n",
    "******Processing panbanggeng-J-Im19-78******\n",
    "******Processing panguojun-S-Im25-31-J-25-76******\n",
    "******Processing panhejian-J-Im39-57******\n",
    "******Processing panzhangsong-J-Im26-91******\n",
    "******Processing penggaofeng-S-Im28-36******\n",
    "Delete crop_path\n",
    "******Processing pengzhengjiang-J-Im38-160******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：penggaofeng-S-Im28-36_0028.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：penggaofeng-S-Im28-36_0035.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/pengzhengjiang-J-Im38-160/labels/pengzhengjiang-J-Im38-160_0080.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/pengzhengjiang-J-Im38-160/labels/pengzhengjiang-J-Im38-160_0145.txt'\n",
    "Delete crop_path\n",
    "******Processing qianfuying-J-Im20-87******\n",
    "******Processing qianwende-J-Im31-97******\n",
    "******Processing qianyaolin-J-Im36-67******\n",
    "******Processing qiaowei-S-Im18-30-J-Im18-82******\n",
    "******Processing qiuyuanxing-S-Im30-32******\n",
    "******Processing qiuzhidong-J-Im25-42******\n",
    "******Processing qumin-S-Im22-35-J-Im22-28******\n",
    "******Processing renjiasheng-J-Im26-88******\n",
    "******Processing ruweiping-S-Im52-63-J-Im52-94******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：ruweiping-S-Im52-63-J-Im52-94_0051.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：ruweiping-S-Im52-63-J-Im52-94_0052.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：ruweiping-S-Im52-63-J-Im52-94_0053.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：ruweiping-S-Im52-63-J-Im52-94_0054.txt\n",
    "Delete crop_path\n",
    "******Processing shaoxiulan-J-Im21-25******\n",
    "******Processing shaoyefeng-S-Im34-43-J-Im34-48******\n",
    "******Processing shenglina-J-Im21-65******\n",
    "******Processing shengwenping-S-Im37-46-J-Im37-116******\n",
    "******Processing shenjie-S-Im39-59-J-Im39-85******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：shenjie-S-Im39-59-J-Im39-85_0040.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：shenjie-S-Im39-59-J-Im39-85_0041.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：shenjie-S-Im39-59-J-Im39-85_0042.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：shenjie-S-Im39-59-J-Im39-85_0043.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.0478516, 0.529297)出界：shenjie-S-Im39-59-J-Im39-85_0044.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.0390625, 0.538086)出界：shenjie-S-Im39-59-J-Im39-85_0048.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：shenjie-S-Im39-59-J-Im39-85_0050.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：shenjie-S-Im39-59-J-Im39-85_0051.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：shenjie-S-Im39-59-J-Im39-85_0052.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：shenjie-S-Im39-59-J-Im39-85_0055.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：shenjie-S-Im39-59-J-Im39-85_0056.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0057.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：shenjie-S-Im39-59-J-Im39-85_0058.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.0478516, 0.529297)出界：shenjie-S-Im39-59-J-Im39-85_0044.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.0390625, 0.538086)出界：shenjie-S-Im39-59-J-Im39-85_0048.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0057.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0066.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0067.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0069.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0070.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0071.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0072.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0073.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0074.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0075.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0076.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0077.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0078.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0079.txt'\n",
    "Delete crop_path\n",
    "******Processing shenliqiang-J-Im29-137******\n",
    "******Processing shenqi-J-Im24-72******\n",
    "******Processing shenwenjiao-S-Im24-35******\n",
    "******Processing shenxuefu-S-Im33-40-J-Im33-101******\n",
    "******Processing shenyangfeng-J-Im36-120******\n",
    "******Processing shiguohu-J-Im19-70******\n",
    "******Processing shijiuwei-J-Im29-130******\n",
    "******Processing shizhongheng-J-Im23-50******\n",
    "******Processing shujianqiang-S-Im22-30-J-Im22-59******\n",
    "******Processing sishouzhong-J-Im25-137******\n",
    "******Processing sizhongyu-J-Im22-81******\n",
    "******Processing sunlibing-J-Im24-82******\n",
    "******Processing sunyudong-J-Im37-95******\n",
    "******Processing tangabiao-S-Im41-49-J-Im41-138******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：tangabiao-S-Im41-49-J-Im41-138_0041.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：tangabiao-S-Im41-49-J-Im41-138_0042.txt\n",
    "Delete crop_path\n",
    "******Processing tangguoliang-J-Im18-41******\n",
    "******Processing tangjinlong-J-Im25-41******\n",
    "******Processing tonghuiling-J-Im22-78******\n",
    "******Processing tongjinglin-J-Im36-146******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/tongjinglin-J-Im36-146/labels/tongjinglin-J-Im36-146_0143.txt'\n",
    "Delete crop_path\n",
    "******Processing wangchenrong-S-Im18-24-J-Im18-38******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/wangchenrong-S-Im18-24-J-Im18-38/labels/wangchenrong-S-Im18-24-J-Im18-38_0025.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/wangchenrong-S-Im18-24-J-Im18-38/labels/wangchenrong-S-Im18-24-J-Im18-38_0034.txt'\n",
    "Delete crop_path\n",
    "******Processing wangjiangang-J-Im23-60******\n",
    "******Processing wangjiangwei-J-Im37-143******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/wangjiangwei-J-Im37-143/labels/wangjiangwei-J-Im37-143_0054.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/wangjiangwei-J-Im37-143/labels/wangjiangwei-J-Im37-143_0062.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/wangjiangwei-J-Im37-143/labels/wangjiangwei-J-Im37-143_0063.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/wangjiangwei-J-Im37-143/labels/wangjiangwei-J-Im37-143_0071.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/wangjiangwei-J-Im37-143/labels/wangjiangwei-J-Im37-143_0080.txt'\n",
    "Delete crop_path\n",
    "******Processing wanglibo-J-Im29-102******\n",
    "******Processing wanglinsen-J-Im38-121******\n",
    "******Processing wangqingdong-J-Im19-88******\n",
    "******Processing wangweibo-J-Im36-149******\n",
    "******Processing wangxinchun-J-Im18-81******\n",
    "******Processing wangyaotang-J-Im31-100******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/wangyaotang-J-Im31-100/labels/wangyaotang-J-Im31-100_0068.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/wangyaotang-J-Im31-100/labels/wangyaotang-J-Im31-100_0088.txt'\n",
    "Delete crop_path\n",
    "******Processing wangyefu-J-Im42-112******\n",
    "******Processing wangyonghui-S-Im18-27-J-Im18-84******\n",
    "******Processing wangyuefeng-S-Im34-38-J-Im34-144******\n",
    "******Processing wangzhuxi-J-Im25-144******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/wangzhuxi-J-Im25-144/labels/wangzhuxi-J-Im25-144_0133.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/wangzhuxi-J-Im25-144/labels/wangzhuxi-J-Im25-144_0138.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/wangzhuxi-J-Im25-144/labels/wangzhuxi-J-Im25-144_0140.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/wangzhuxi-J-Im25-144/labels/wangzhuxi-J-Im25-144_0141.txt'\n",
    "Delete crop_path\n",
    "******Processing wangziyang-J-Im42-95******\n",
    "******Processing weiguanxin-J-Im43-116******\n",
    "******Processing weijuyun-S-Im24-32******\n",
    "******Processing weinaichao-J-Im59-162******\n",
    "******Processing weizhiqing-J-Im33-45******\n",
    "******Processing wenyongguo-J-Im23-121******\n",
    "******Processing wujufen-J-Im31-135******\n",
    "******Processing wutonggen-S-Im22-29-J-Im22-82******\n",
    "******Processing wuwanglong-J-Im31-125******\n",
    "******Processing wuxiangyang-S-Im18-25******\n",
    "******Processing wuyingbo-J-Im36-98******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 12, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.587891, 0.750977)出界：wuyingbo-J-Im36-98_0068.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 12, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.588867, 0.75293)出界：wuyingbo-J-Im36-98_0069.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 12, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.588867, 0.750977)出界：wuyingbo-J-Im36-98_0070.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 12, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.589844, 0.75293)出界：wuyingbo-J-Im36-98_0071.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 12, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.587891, 0.75293)出界：wuyingbo-J-Im36-98_0072.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 12, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.588867, 0.75)出界：wuyingbo-J-Im36-98_0073.txt\n",
    "Delete crop_path\n",
    "******Processing wuyueming-J-Im36-138******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/wuyueming-J-Im36-138/labels/wuyueming-J-Im36-138_0125.txt'\n",
    "Delete crop_path\n",
    "******Processing xiaminsong-S-Im40-51-J-Im40-139******\n",
    "******Processing xiayunqing-J-Im33-141******\n",
    "******Processing xiechangyou-S-Im22-31-J-Im22-84******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/xiechangyou-S-Im22-31-J-Im22-84/labels/xiechangyou-S-Im22-31-J-Im22-84_0075.txt'\n",
    "Delete crop_path\n",
    "******Processing xixiaoguo-S-Im16-31-J-Im16-43******\n",
    "******Processing xuanhuili-J-Im30-135******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/xuanhuili-J-Im30-135/labels/xuanhuili-J-Im30-135_0068.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/xuanhuili-J-Im30-135/labels/xuanhuili-J-Im30-135_0076.txt'\n",
    "Delete crop_path\n",
    "******Processing xuguochun-J-Im43-60******\n",
    "******Processing xuhong-S-Im23-38-J-Im23-40******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：xuhong-S-Im23-38-J-Im23-40_0035.txt\n",
    "Delete crop_path\n",
    "******Processing xushangfa-J-Im36-141******\n",
    "******Processing xushichao-J-Im35-145******\n",
    "******Processing xuyanfang-J-Im20-80******\n",
    "******Processing xuyaofeng-J-Im24-119******\n",
    "******Processing xuyuping-S-Im21-33-J-Im21-69******\n",
    "******Processing yangbaozhi-J-Im27-65******\n",
    "******Processing yangbingshui-S-Im25-33-J-Im25-56******\n",
    "******Processing yangdongshui-S-Im15-21******\n",
    "******Processing yangen-J-Im61-183******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangen-J-Im61-183/labels/yangen-J-Im61-183_0089.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangen-J-Im61-183/labels/yangen-J-Im61-183_0091.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangen-J-Im61-183/labels/yangen-J-Im61-183_0092.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangen-J-Im61-183/labels/yangen-J-Im61-183_0093.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangen-J-Im61-183/labels/yangen-J-Im61-183_0094.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangen-J-Im61-183/labels/yangen-J-Im61-183_0099.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangen-J-Im61-183/labels/yangen-J-Im61-183_0101.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangen-J-Im61-183/labels/yangen-J-Im61-183_0103.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangen-J-Im61-183/labels/yangen-J-Im61-183_0104.txt'\n",
    "Delete crop_path\n",
    "******Processing yanglanfen-S-Im19-33******\n",
    "Delete crop_path\n",
    "******Processing yangmin-J-Im37-150******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yanglanfen-S-Im19-33_0019.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yanglanfen-S-Im19-33_0020.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yanglanfen-S-Im19-33_0022.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yanglanfen-S-Im19-33_0023.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yanglanfen-S-Im19-33_0024.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yanglanfen-S-Im19-33_0025.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yanglanfen-S-Im19-33_0026.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yanglanfen-S-Im19-33_0027.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yanglanfen-S-Im19-33_0028.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yanglanfen-S-Im19-33_0030.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yanglanfen-S-Im19-33_0031.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yanglanfen-S-Im19-33_0032.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangmin-J-Im37-150/labels/yangmin-J-Im37-150_0079.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangmin-J-Im37-150/labels/yangmin-J-Im37-150_0080.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangmin-J-Im37-150/labels/yangmin-J-Im37-150_0081.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangmin-J-Im37-150/labels/yangmin-J-Im37-150_0083.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangmin-J-Im37-150/labels/yangmin-J-Im37-150_0143.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangmin-J-Im37-150/labels/yangmin-J-Im37-150_0145.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangxiufu-S-Im25-37-J-Im25-29_0024.txt\n",
    "Delete crop_path\n",
    "******Processing yangxiufu-S-Im25-37-J-Im25-29******\n",
    "Delete crop_path\n",
    "******Processing yangxiulian-S-Im20-26-J-Im20-44******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangxiulian-S-Im20-26-J-Im20-44_0019.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangxiulian-S-Im20-26-J-Im20-44/labels/yangxiulian-S-Im20-26-J-Im20-44_0037.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangxiulian-S-Im20-26-J-Im20-44/labels/yangxiulian-S-Im20-26-J-Im20-44_0038.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangxiulian-S-Im20-26-J-Im20-44/labels/yangxiulian-S-Im20-26-J-Im20-44_0039.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangxiulian-S-Im20-26-J-Im20-44/labels/yangxiulian-S-Im20-26-J-Im20-44_0040.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yangxiulian-S-Im20-26-J-Im20-44/labels/yangxiulian-S-Im20-26-J-Im20-44_0041.txt'\n",
    "Delete crop_path\n",
    "******Processing yangxuehua-J-Im23-79******\n",
    "******Processing yangyuexian-S-Im38-63******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0037.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0040.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0041.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0048.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0049.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0050.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0051.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0052.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0053.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0054.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0055.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0056.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0057.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0058.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0059.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0060.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0061.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yangyuexian-S-Im38-63_0062.txt\n",
    "Delete crop_path\n",
    "******Processing yangyulin-J-Im16-58******\n",
    "******Processing yangzhanxiang-J-Im31-145******\n",
    "******Processing yangzhengfu-S-Im16-30-J-Im16-77******\n",
    "******Processing yangzhicheng-J-Im19-82******\n",
    "******Processing yanjuanfeng-J-Im30-32******\n",
    "******Processing yaocaiming-J-Im26-88******\n",
    "******Processing yaojianmin-S-Im20-29-J-Im20-86******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yaojianmin-S-Im20-29-J-Im20-86_0025.txt\n",
    "Delete crop_path\n",
    "******Processing yaoliumei-S-Im28-39******\n",
    "******Processing yaozaisheng-J-Im16-28******\n",
    "******Processing yepeng-J-Im26-125******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.755859, 0.484375)出界：yepeng-J-Im26-125_0092.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yepeng-J-Im26-125/labels/yepeng-J-Im26-125_0114.txt'\n",
    "Delete crop_path\n",
    "******Processing yesanghua-J-Im41-138******\n",
    "******Processing yewenyi-J-Im36-130******\n",
    "******Processing yexinxiang-S-Im32-38-J-Im32-102******\n",
    "******Processing yexiyou-J-Im35-139******\n",
    "******Processing yexiyou-S-Im19-27-J-Im19-62******\n",
    "******Processing yingguoliang-J-Im55-130******\n",
    "******Processing yingjianquan-S-Im12-14-J-Im12-36******\n",
    "******Processing yingmeiqi-S-Im22-25-J-Im16-36******\n",
    "******Processing yinshixiu-S-Im23-25-J-Im23-79******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yinshixiu-S-Im23-25-J-Im23-79_0023.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yinshixiu-S-Im23-25-J-Im23-79_0024.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yinshixiu-S-Im23-25-J-Im23-79/labels/yinshixiu-S-Im23-25-J-Im23-79_0036.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yinshixiu-S-Im23-25-J-Im23-79/labels/yinshixiu-S-Im23-25-J-Im23-79_0050.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/yinshixiu-S-Im23-25-J-Im23-79/labels/yinshixiu-S-Im23-25-J-Im23-79_0051.txt'\n",
    "Delete crop_path\n",
    "******Processing yintianxing-J-Im24-38******\n",
    "******Processing yinyuanyuan-J-Im20-78******\n",
    "******Processing yuanlinyue-J-Im27-120******\n",
    "******Processing yugenrong-J-Im18-60******\n",
    "******Processing yuhongliang-S-Im26-37-J-Im26-105******\n",
    "******Processing yujiada-J-Im21-48******\n",
    "******Processing yujiazhen-S-Im19-27-J-Im19-77******\n",
    "******Processing yujinfang-J-Im31-106******\n",
    "******Processing yulinhang-J-Im14-57******\n",
    "******Processing yuyunguo-J-Im12-15******\n",
    "******Processing zengjun-J-Im22-57******\n",
    "******Processing zhanfangai-S-Im17-23-J-Im17-32******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhanfangai-S-Im17-23-J-Im17-32_0016.txt\n",
    "Delete crop_path\n",
    "******Processing zhangboqian-S-Im22-32-J-Im22-88******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhangboqian-S-Im22-32-J-Im22-88_0022.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhangboqian-S-Im22-32-J-Im22-88_0023.txt\n",
    "Delete crop_path\n",
    "******Processing zhangchaodong-J-Im20-80******\n",
    "******Processing zhangfuyang-S-Im15-20-J-Im15-87******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhangfuyang-S-Im15-20-J-Im15-87/labels/zhangfuyang-S-Im15-20-J-Im15-87_0039.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhangfuyang-S-Im15-20-J-Im15-87/labels/zhangfuyang-S-Im15-20-J-Im15-87_0040.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhangfuyang-S-Im15-20-J-Im15-87/labels/zhangfuyang-S-Im15-20-J-Im15-87_0041.txt'\n",
    "Delete crop_path\n",
    "******Processing zhangguangming-J-21-138******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhangguangming-J-21-138/labels/zhangguangming-J-21-138_0020.txt'\n",
    "Delete crop_path\n",
    "******Processing zhanghaitao-S-Im25-49-J-Im25-145******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhanghaitao-S-Im25-49-J-Im25-145_0024.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhanghaitao-S-Im25-49-J-Im25-145_0047.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhanghaitao-S-Im25-49-J-Im25-145/labels/zhanghaitao-S-Im25-49-J-Im25-145_0128.txt'\n",
    "Delete crop_path\n",
    "******Processing zhanghang-S-Im16-20-J-Im16-41******\n",
    "******Processing zhanglimin-J-Im40-149******\n",
    "******Processing zhangshenxiang-J-Im41-83******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhangshenxiang-J-Im41-83/labels/zhangshenxiang-J-Im41-83_0058.txt'\n",
    "Delete crop_path\n",
    "******Processing zhangshiliang-J-Im32-49******\n",
    "******Processing zhangweiyan-J-Im40-57******\n",
    "******Processing zhangyide-J-Im28-107******\n",
    "******Processing zhangying-S-Im29-44******\n",
    "******Processing zhangyunqin-S-Im14-25-J-Im14-64******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhangyunqin-S-Im14-25-J-Im14-64/labels/zhangyunqin-S-Im14-25-J-Im14-64_0062.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhangyunqin-S-Im14-25-J-Im14-64/labels/zhangyunqin-S-Im14-25-J-Im14-64_0063.txt'\n",
    "Delete crop_path\n",
    "******Processing zhangzhefang-S-Im22-31-J-Im22-59******\n",
    "******Processing zhaodaqing-J-Im12-68******\n",
    "******Processing zhaowenxian-J-Im43-111******\n",
    "******Processing zhaozanping-J-Im23-90******\n",
    "******Processing zhaozhengxing-J-Im35-99******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhaozhengxing-J-Im35-99/labels/zhaozhengxing-J-Im35-99_0081.txt'\n",
    "Delete crop_path\n",
    "******Processing zhengjiyou-J-Im28-136******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhengjiyou-J-Im28-136/labels/zhengjiyou-J-Im28-136_0131.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhengjiyou-J-Im28-136/labels/zhengjiyou-J-Im28-136_0132.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhengjiyou-J-Im28-136/labels/zhengjiyou-J-Im28-136_0133.txt'\n",
    "Delete crop_path\n",
    "******Processing zhenhui-J-Im28-101******\n",
    "******Processing zhongweiliang-J-Im66-170******\n",
    "******Processing zhongxuefang-S-Im19-34-J-Im19-72******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhongxuefang-S-Im19-34-J-Im19-72_0018.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhongxuefang-S-Im19-34-J-Im19-72_0023.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhongxuefang-S-Im19-34-J-Im19-72_0026.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhongxuefang-S-Im19-34-J-Im19-72_0028.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhongxuefang-S-Im19-34-J-Im19-72_0029.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhongxuefang-S-Im19-34-J-Im19-72_0031.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhongxuefang-S-Im19-34-J-Im19-72_0033.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhongxuefang-S-Im19-34-J-Im19-72/labels/zhongxuefang-S-Im19-34-J-Im19-72_0038.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhongxuefang-S-Im19-34-J-Im19-72/labels/zhongxuefang-S-Im19-34-J-Im19-72_0039.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhongxuefang-S-Im19-34-J-Im19-72/labels/zhongxuefang-S-Im19-34-J-Im19-72_0042.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhongxuefang-S-Im19-34-J-Im19-72/labels/zhongxuefang-S-Im19-34-J-Im19-72_0046.txt'\n",
    "Delete crop_path\n",
    "******Processing zhoubozhong-J-Im29-131******\n",
    "******Processing zhoufeng-S-Im35-40-J-Im35-147******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhoufeng-S-Im35-40-J-Im35-147/labels/zhoufeng-S-Im35-40-J-Im35-147_0081.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhoufeng-S-Im35-40-J-Im35-147/labels/zhoufeng-S-Im35-40-J-Im35-147_0134.txt'\n",
    "Delete crop_path\n",
    "******Processing zhoufengnian-J-Im24-121******\n",
    "******Processing zhouguoyang-J-Im31-96******\n",
    "******Processing zhouliang-J-Im47-123******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhouliang-J-Im47-123/labels/zhouliang-J-Im47-123_0089.txt'\n",
    "Delete crop_path\n",
    "******Processing zhoumingfang-J-Im36-41******\n",
    "******Processing zhourongjie-S-Im19-27-J-Im19-64******\n",
    "******Processing zhousuhua-J-Im25-96******\n",
    "******Processing zhouyingnan-J-Im47-125******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhouyingnan-J-Im47-125/labels/zhouyingnan-J-Im47-125_0081.txt'\n",
    "Delete crop_path\n",
    "******Processing zhuchunguang-J-Im21-86******\n",
    "******Processing zhuhancheng-S-Im27-36-J-Im27-86******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhuhancheng-S-Im27-36-J-Im27-86_0033.txt\n",
    "Delete crop_path\n",
    "******Processing zhujunfei-J-Im24-88******\n",
    "******Processing zhuseng-S-Im24-31-J-Im24-105******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhuseng-S-Im24-31-J-Im24-105/labels/zhuseng-S-Im24-31-J-Im24-105_0074.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhuseng-S-Im24-31-J-Im24-105/labels/zhuseng-S-Im24-31-J-Im24-105_0075.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhuseng-S-Im24-31-J-Im24-105/labels/zhuseng-S-Im24-31-J-Im24-105_0076.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhuseng-S-Im24-31-J-Im24-105/labels/zhuseng-S-Im24-31-J-Im24-105_0077.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhuseng-S-Im24-31-J-Im24-105/labels/zhuseng-S-Im24-31-J-Im24-105_0078.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhuseng-S-Im24-31-J-Im24-105/labels/zhuseng-S-Im24-31-J-Im24-105_0086.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhuseng-S-Im24-31-J-Im24-105/labels/zhuseng-S-Im24-31-J-Im24-105_0088.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhuseng-S-Im24-31-J-Im24-105/labels/zhuseng-S-Im24-31-J-Im24-105_0089.txt'\n",
    "Delete crop_path\n",
    "******Processing zhuxutao-J-Im23-78******\n",
    "******Processing zhuyongfu-J-Im22-80******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zhuyongfu-J-Im22-80/labels/zhuyongfu-J-Im22-80_0070.txt'\n",
    "Delete crop_path\n",
    "******Processing zhuyuejin-J-Im21-72******\n",
    "******Processing zongminghui-S-Im18-25-J-Im18-81******\n",
    "Delete crop_path\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zongminghui-S-Im18-25-J-Im18-81/labels/zongminghui-S-Im18-25-J-Im18-81_0065.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-92-315c247b1138>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/test/zongminghui-S-Im18-25-J-Im18-81/labels/zongminghui-S-Im18-25-J-Im18-81_0070.txt'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "cf3f06a6",
   "metadata": {},
   "outputs": [],
   "source": [
    "9月19日：\n",
    "13\n",
    "['chenfuliang-S-21-31-J-21-84', 'digenlan-J-23-50', 'ganxiaobin-J-23-51', 'kongxiaoqing-S-19-32-J-27-94', 'liangjianjun-S-17-23', 'liuhongfu-J-57-200', 'pancunxiao-S-16-30-J-16-70', 'siyoulin-S-16-26', 'wangxiaofu-S-19-29-J-19-65', 'yuguiying-S-16-22-J-16-77', 'zhengchong-S-16-31-J-16-87', 'zhongchuankun-J-17-69', 'zhuxinjian-J-20-23']\n",
    "\n",
    "******Processing baozuoshi-J-16-79******\n",
    "******Processing changzhenxuan-J-15-55******\n",
    "******Processing chenaijiao-J-26-41******\n",
    "******Processing chencaiying-J-19-79******\n",
    "******Processing chenfuliang-S-21-31-J-21-84******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.791016, 0.591797)出界：chenfuliang-S-21-31-J-21-84_0058.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.790039, 0.591797)出界：chenfuliang-S-21-31-J-21-84_0059.txt\n",
    "******Processing chenganyao-J-19-40******\n",
    "******Processing chenhui-S-17-25-J-17-87******\n",
    "******Processing chenjufa-J-16-66******\n",
    "******Processing digenlan-J-23-50******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/digenlan-J-23-50/labels/digenlan-J-23-50_0022.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/digenlan-J-23-50/labels/digenlan-J-23-50_0025.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/digenlan-J-23-50/labels/digenlan-J-23-50_0026.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/digenlan-J-23-50/labels/digenlan-J-23-50_0032.txt'\n",
    "******Processing fangchunfeng-J-16-48******\n",
    "******Processing fangzhuxiang-J-18-61******\n",
    "******Processing fudehe-S-20-33-J-20-70******\n",
    "******Processing ganxiaobin-J-23-51******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/ganxiaobin-J-23-51/labels/ganxiaobin-J-23-51_0043.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/ganxiaobin-J-23-51/labels/ganxiaobin-J-23-51_0044.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/ganxiaobin-J-23-51/labels/ganxiaobin-J-23-51_0045.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/ganxiaobin-J-23-51/labels/ganxiaobin-J-23-51_0046.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/ganxiaobin-J-23-51/labels/ganxiaobin-J-23-51_0047.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/ganxiaobin-J-23-51/labels/ganxiaobin-J-23-51_0049.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/ganxiaobin-J-23-51/labels/ganxiaobin-J-23-51_0050.txt'\n",
    "******Processing huangwanman-S-15-30******\n",
    "******Processing kongxiaoqing-S-19-32-J-27-94******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：kongxiaoqing-S-19-32-J-27-94_0029.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：kongxiaoqing-S-19-32-J-27-94_0030.txt\n",
    "******Processing liangjianjun-S-17-23******\n",
    "******Processing linfaqiu-S-18-29******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：liangjianjun-S-17-23_0016.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：liangjianjun-S-17-23_0017.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：liangjianjun-S-17-23_0018.txt\n",
    "******Processing linjiaxiang-J-21-72******\n",
    "******Processing linrichun-J-16-72******\n",
    "******Processing lirucou-J-19-59******\n",
    "******Processing liubihai-S-23-26-J-23-93******\n",
    "******Processing liuhongfu-J-57-200******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/liuhongfu-J-57-200/labels/liuhongfu-J-57-200_0158.txt'\n",
    "******Processing liuzhangliu-J-22-28******\n",
    "******Processing nixueya-J-19-75******\n",
    "******Processing pancunxiao-S-16-30-J-16-70******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：pancunxiao-S-16-30-J-16-70_0015.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：pancunxiao-S-16-30-J-16-70_0016.txt\n",
    "******Processing shanghongjun-J-22-84******\n",
    "******Processing shenjian-J-15-81******\n",
    "******Processing siyoulin-S-16-26******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：siyoulin-S-16-26_0015.txt\n",
    "******Processing sunhongliang-S-23-34******\n",
    "******Processing wangjicheng-J-14-22******\n",
    "******Processing wangxiaofu-S-19-29-J-19-65******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wangxiaofu-S-19-29-J-19-65_0018.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/wangxiaofu-S-19-29-J-19-65/labels/wangxiaofu-S-19-29-J-19-65_0043.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/wangxiaofu-S-19-29-J-19-65/labels/wangxiaofu-S-19-29-J-19-65_0044.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/wangxiaofu-S-19-29-J-19-65/labels/wangxiaofu-S-19-29-J-19-65_0046.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/wangxiaofu-S-19-29-J-19-65/labels/wangxiaofu-S-19-29-J-19-65_0047.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/wangxiaofu-S-19-29-J-19-65/labels/wangxiaofu-S-19-29-J-19-65_0048.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/wangxiaofu-S-19-29-J-19-65/labels/wangxiaofu-S-19-29-J-19-65_0049.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/wangxiaofu-S-19-29-J-19-65/labels/wangxiaofu-S-19-29-J-19-65_0050.txt'\n",
    "******Processing xiafangzhou-S-18-25-J-18-80******\n",
    "******Processing xiangweiwen-J-25-52******\n",
    "******Processing xucaixiang-J-17-36******\n",
    "******Processing xuhangying-J-25-63******\n",
    "******Processing xuheping-S-19-35-J-19-70******\n",
    "******Processing xujiahua-S-20-33-J-20-71******\n",
    "******Processing xupinglun-S-18-28-J-18-32******\n",
    "******Processing yejiangen-J-15-34******\n",
    "******Processing yuguiying-S-16-22-J-16-77******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yuguiying-S-16-22-J-16-77_0015.txt\n",
    "******Processing yujunying-J-15-82******\n",
    "******Processing zhangjiahua-J-19-78******\n",
    "******Processing zhangjianliang-J-16-77******\n",
    "******Processing zhangping-J-25-88******\n",
    "******Processing zhengchong-S-16-31-J-16-87******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhengchong-S-16-31-J-16-87_0018.txt\n",
    "******Processing zhongchuankun-J-17-69******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/zhongchuankun-J-17-69/labels/zhongchuankun-J-17-69_0041.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/zhongchuankun-J-17-69/labels/zhongchuankun-J-17-69_0061.txt'\n",
    "******Processing zhoujianglong-S-17-31******\n",
    "******Processing zhuxinjian-J-20-23******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 47, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"<ipython-input-101-5f34f1b3dad3>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/new/zhuxinjian-J-20-23/labels/zhuxinjian-J-20-23_0019.txt'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "fceaaa47",
   "metadata": {},
   "outputs": [],
   "source": [
    "9月17日阴性：\n",
    "107\n",
    "['baixiaoxu-22-31-52-147', 'baojinjia-17-21-35-83', 'bianyinqiao-31-38-59-137', 'bianzhaorong-17-22-38-92', 'caijingnan1-41-50-73-184', 'caiqishu-34-43-70-176', 'chenchuanmu-44-52-91-184', 'chenfugui-36-46-76-149', 'chenjian-26-30-44-89', 'chenjianhua-14-17-32-80', 'chenjianjun-25-34-65-175', 'chenjianping-15-22-41-91', 'chenjingjing-38-47-67-184', 'chenjinmei-12-17-34-80', 'chenyanli-20-23-34-80', 'chenyinfen-18-22-38-81', 'cheshengying-25-34-64-139', 'denghuibin-15-19-35-84', 'dingbinghai-20-24-45-95', 'dingguanyun-19-24-40-94', 'dinglianhua-19-28-61-143', 'dujinlian-17-20-36-82', 'fangchengfu-26-39-76-182', 'fangrurong-16-25-55-132', 'fudianqin-15-19-33-78', 'geqingqing-33-41-68-169', 'guxinmei-13-18-39-79', 'heguansheng-15-20-43-92', 'hexiena-18-22-38-82', 'huangfujuan-38-47-80-178', 'huangguixian-24-28-45-101', 'huangjuzhen-13-17-29-77', 'huangweigen-24-32-62-138', 'huangxiang-22-26-42-84', 'hukaipin-29-39-73-159', 'jiangyuxiang-15-19-37-83', 'jinaixiang-34-41-63-149', 'jinangui-17-21-37-81', 'liangzhenwei-16-20-39-92', 'lideming-16-23-43-90', 'lifengyun-8-16-35-81', 'linshangjin-15-19-36-81', 'lirongchang-13-17-27-86', 'lishankui-17-25-56-142', 'liuxiaolin-39-49-81-176', 'lizufu-21-26-42-93', 'longpiaojiang-29-40-65-184', 'longyingdong-21-25-40-99', 'loucaidi-26-35-63-154', 'loudinghong-18-22-39-93', 'lucaifa-25-34-62-147', 'lulimian-24-31-64-135', 'luojun-22-29-51-139', 'magengqiu-41-49-89-195', 'maoshangxin-33-44-85-195', 'panxiangyang-45-53-97-196', 'qianaqin-18-26-52-141', 'quzhuming-31-41-69-192', 'shenfengmei-29-36-58-130', 'shengmingzhen-10-13-26-75', 'shenyan-16-23-57-125', 'shenyunzhou-24-33-70-141', 'shouyunfang-20-26-42-136', 'taoxiuwei-26-34-54-137', 'wangahai-16-22-43-91', 'wangbeibei-28-38-62-148', 'wangfancun-28-39-72-175', 'wanghaifang-40-47-83-160', 'wangying-30-36-77-162', 'wangyouxiang-21-27-41-131', 'wangyouxin-34-42-64-160', 'wenshuijuan-30-36-66-145', 'wuhanjiang-18-22-39-85', 'wumingshi2021061701-25-28-45-98', 'wumingshi2021080102-38-47-85-156', 'wupingzhen-15-19-34-82', 'wuqinmei-24-32-52-140', 'wuruqing-49-60-96-153', 'wuyanxian-17-21-36-83', 'wuzongtang-29-36-76-141', 'xiabao-33-42-78-196', 'xucaifeng-21-25-52-88', 'xujianhua-16-20-39-87', 'xurihua-26-34-61-145', 'yesenfei-22-32-53-172', 'yuanxiazhen-14-18-36-76', 'yubaisong-25-33-65-152', 'yuyinglong-24-30-51-98', 'yuyunfu-26-33-66-148', 'zhangjingjing-16-19-30-78', 'zhangjingzhong-53-59-85-174', 'zhangjunfei-25-33-52-125', 'zhangkesheng-27-34-63-144', 'zhangmeiqin-19-22-39-86', 'zhangsuyun-18-21-37-81', 'zhangweiyong-24-31-60-148', 'zhangyitian-26-32-55-148', 'zhaosuifang-23-34-61-154', 'zhaoyijun-17-20-33-82', 'zhengfahong-22-26-44-99', 'zhengjuying-16-19-33-86', 'zhoubo-19-26-41-137', 'zhoushan-17-20-39-78', 'zhouxinya-24-30-40-120', 'zhouzhangyun-26-35-61-136', 'zhumeizheng-34-42-69-167', 'zhuxinnan-18-26-49-129']\n",
    "\n",
    "\n",
    "******Processing baixiaoxu-22-31-52-147******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/baixiaoxu-22-31-52-147/labels/baixiaoxu-22-31-52-147_0069.txt'\n",
    "******Processing baojinjia-17-21-35-83******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/baojinjia-17-21-35-83/labels/baojinjia-17-21-35-83_0056.txt'\n",
    "******Processing baoyanzu-21-25-42-93******\n",
    "******Processing bianyinqiao-31-38-59-137******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：bianyinqiao-31-38-59-137_0053.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianyinqiao-31-38-59-137/labels/bianyinqiao-31-38-59-137_0071.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianyinqiao-31-38-59-137/labels/bianyinqiao-31-38-59-137_0072.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianyinqiao-31-38-59-137/labels/bianyinqiao-31-38-59-137_0073.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianyinqiao-31-38-59-137/labels/bianyinqiao-31-38-59-137_0074.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianyinqiao-31-38-59-137/labels/bianyinqiao-31-38-59-137_0075.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianyinqiao-31-38-59-137/labels/bianyinqiao-31-38-59-137_0076.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianyinqiao-31-38-59-137/labels/bianyinqiao-31-38-59-137_0077.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianyinqiao-31-38-59-137/labels/bianyinqiao-31-38-59-137_0078.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianyinqiao-31-38-59-137/labels/bianyinqiao-31-38-59-137_0079.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianyinqiao-31-38-59-137/labels/bianyinqiao-31-38-59-137_0080.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianyinqiao-31-38-59-137/labels/bianyinqiao-31-38-59-137_0081.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianyinqiao-31-38-59-137/labels/bianyinqiao-31-38-59-137_0082.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianyinqiao-31-38-59-137/labels/bianyinqiao-31-38-59-137_0105.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianyinqiao-31-38-59-137/labels/bianyinqiao-31-38-59-137_0106.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianyinqiao-31-38-59-137/labels/bianyinqiao-31-38-59-137_0114.txt'\n",
    "******Processing bianzhaorong-17-22-38-92******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：bianzhaorong-17-22-38-92_0023.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：bianzhaorong-17-22-38-92_0024.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：bianzhaorong-17-22-38-92_0025.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：bianzhaorong-17-22-38-92_0026.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：bianzhaorong-17-22-38-92_0027.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：bianzhaorong-17-22-38-92_0029.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：bianzhaorong-17-22-38-92_0030.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianzhaorong-17-22-38-92/labels/bianzhaorong-17-22-38-92_0031.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianzhaorong-17-22-38-92/labels/bianzhaorong-17-22-38-92_0031.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianzhaorong-17-22-38-92/labels/bianzhaorong-17-22-38-92_0032.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianzhaorong-17-22-38-92/labels/bianzhaorong-17-22-38-92_0032.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：bianzhaorong-17-22-38-92_0033.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianzhaorong-17-22-38-92/labels/bianzhaorong-17-22-38-92_0042.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianzhaorong-17-22-38-92/labels/bianzhaorong-17-22-38-92_0043.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianzhaorong-17-22-38-92/labels/bianzhaorong-17-22-38-92_0045.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.758789, 0.619141)出界：bianzhaorong-17-22-38-92_0063.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianzhaorong-17-22-38-92/labels/bianzhaorong-17-22-38-92_0066.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/bianzhaorong-17-22-38-92/labels/bianzhaorong-17-22-38-92_0067.txt'\n",
    "******Processing caicunyuan-12-16-30-86******\n",
    "******Processing caijingnan1-41-50-73-184******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：caijingnan1-41-50-73-184_0061.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0086.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0116.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0117.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0118.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0120.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0123.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0133.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0134.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0135.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0136.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0137.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0138.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0139.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0140.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0141.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0143.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0144.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0149.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0150.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0151.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0153.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0154.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0156.txt'\n",
    "******Processing caiqishu-34-43-70-176******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：caiqishu-34-43-70-176_0048.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：caiqishu-34-43-70-176_0049.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：caiqishu-34-43-70-176_0050.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：caiqishu-34-43-70-176_0053.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：caiqishu-34-43-70-176_0055.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：caiqishu-34-43-70-176_0056.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：caiqishu-34-43-70-176_0059.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：caiqishu-34-43-70-176_0060.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caiqishu-34-43-70-176/labels/caiqishu-34-43-70-176_0082.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caiqishu-34-43-70-176/labels/caiqishu-34-43-70-176_0083.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caiqishu-34-43-70-176/labels/caiqishu-34-43-70-176_0084.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caiqishu-34-43-70-176/labels/caiqishu-34-43-70-176_0097.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caiqishu-34-43-70-176/labels/caiqishu-34-43-70-176_0138.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caiqishu-34-43-70-176/labels/caiqishu-34-43-70-176_0139.txt'\n",
    "******Processing caiyouzhe-14-18-32-83******\n",
    "******Processing caoyuxia-16-21-35-87******\n",
    "******Processing chenchuanmu-44-52-91-184******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenchuanmu-44-52-91-184/labels/chenchuanmu-44-52-91-184_0164.txt'\n",
    "******Processing chenfugui-36-46-76-149******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenfugui-36-46-76-149/labels/chenfugui-36-46-76-149_0117.txt'\n",
    "******Processing chengzhiqiang-33-41-67-159******\n",
    "******Processing chenhefa-17-22-38-81******\n",
    "******Processing chenjian-26-30-44-89******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：chenjian-26-30-44-89_0038.txt\n",
    "******Processing chenjianhua-14-17-32-80******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenjianhua-14-17-32-80/labels/chenjianhua-14-17-32-80_0059.txt'\n",
    "******Processing chenjianjun-25-34-65-175******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenjianjun-25-34-65-175/labels/chenjianjun-25-34-65-175_0147.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：chenjianping-15-22-41-91_0026.txt\n",
    "******Processing chenjianping-15-22-41-91******\n",
    "******Processing chenjingjing-38-47-67-184******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：chenjingjing-38-47-67-184_0050.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：chenjingjing-38-47-67-184_0051.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：chenjingjing-38-47-67-184_0052.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：chenjingjing-38-47-67-184_0060.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenjingjing-38-47-67-184/labels/chenjingjing-38-47-67-184_0121.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenjingjing-38-47-67-184/labels/chenjingjing-38-47-67-184_0125.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenjingjing-38-47-67-184/labels/chenjingjing-38-47-67-184_0126.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenjingjing-38-47-67-184/labels/chenjingjing-38-47-67-184_0127.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenjingjing-38-47-67-184/labels/chenjingjing-38-47-67-184_0142.txt'\n",
    "******Processing chenjinmei-12-17-34-80******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenjinmei-12-17-34-80/labels/chenjinmei-12-17-34-80_0044.txt'\n",
    "******Processing chenpanyang-21-31-71-161******\n",
    "******Processing chenqiuying-13-17-30-78******\n",
    "******Processing chensaimu-34-44-78-166******\n",
    "******Processing chenxiufen-17-21-34-82******\n",
    "******Processing chenyanli-20-23-34-80******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：chenyanli-20-23-34-80_0023.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenyanli-20-23-34-80/labels/chenyanli-20-23-34-80_0039.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenyanli-20-23-34-80/labels/chenyanli-20-23-34-80_0040.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenyanli-20-23-34-80/labels/chenyanli-20-23-34-80_0041.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenyanli-20-23-34-80/labels/chenyanli-20-23-34-80_0051.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenyanli-20-23-34-80/labels/chenyanli-20-23-34-80_0059.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenyanli-20-23-34-80/labels/chenyanli-20-23-34-80_0060.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenyanli-20-23-34-80/labels/chenyanli-20-23-34-80_0066.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenyanli-20-23-34-80/labels/chenyanli-20-23-34-80_0067.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenyanli-20-23-34-80/labels/chenyanli-20-23-34-80_0069.txt'\n",
    "******Processing chenyinfen-18-22-38-81******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenyinfen-18-22-38-81/labels/chenyinfen-18-22-38-81_0069.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenyinfen-18-22-38-81/labels/chenyinfen-18-22-38-81_0070.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：cheshengying-25-34-64-139_0043.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：cheshengying-25-34-64-139_0044.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：cheshengying-25-34-64-139_0045.txt\n",
    "******Processing cheshengying-25-34-64-139******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/cheshengying-25-34-64-139/labels/cheshengying-25-34-64-139_0119.txt'\n",
    "******Processing denghuibin-15-19-35-84******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/denghuibin-15-19-35-84/labels/denghuibin-15-19-35-84_0069.txt'\n",
    "******Processing dingbinghai-20-24-45-95******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/dingbinghai-20-24-45-95/labels/dingbinghai-20-24-45-95_0082.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：dingguanyun-19-24-40-94_0033.txt\n",
    "******Processing dingguanyun-19-24-40-94******\n",
    "******Processing dinglianhua-19-28-61-143******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：dinglianhua-19-28-61-143_0030.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：dinglianhua-19-28-61-143_0034.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：dinglianhua-19-28-61-143_0035.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：dinglianhua-19-28-61-143_0045.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：dinglianhua-19-28-61-143_0046.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：dinglianhua-19-28-61-143_0047.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：dinglianhua-19-28-61-143_0048.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：dinglianhua-19-28-61-143_0049.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：dinglianhua-19-28-61-143_0050.txt\n",
    "******Processing dongyonghong-14-19-34-85******\n",
    "******Processing dujinlian-17-20-36-82******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/dujinlian-17-20-36-82/labels/dujinlian-17-20-36-82_0049.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/dujinlian-17-20-36-82/labels/dujinlian-17-20-36-82_0066.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/dujinlian-17-20-36-82/labels/dujinlian-17-20-36-82_0068.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/dujinlian-17-20-36-82/labels/dujinlian-17-20-36-82_0071.txt'\n",
    "******Processing fangchengfu-26-39-76-182******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.876953, 0.463867)出界：fangchengfu-26-39-76-182_0127.txt\n",
    "******Processing fangrurong-16-25-55-132******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：fangrurong-16-25-55-132_0044.txt\n",
    "******Processing fangyungen-14-18-34-75******\n",
    "******Processing fanxinghua-41-48-69-144******\n",
    "******Processing fengdayan-30-38-69-146******\n",
    "******Processing fudianqin-15-19-33-78******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/fudianqin-15-19-33-78/labels/fudianqin-15-19-33-78_0055.txt'\n",
    "******Processing geqingqing-33-41-68-169******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/geqingqing-33-41-68-169/labels/geqingqing-33-41-68-169_0128.txt'\n",
    "******Processing gezhenghua-15-19-34-88******\n",
    "******Processing guxinmei-13-18-39-79******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.600586, 0.750977)出界：guxinmei-13-18-39-79_0027.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.600586, 0.750977)出界：guxinmei-13-18-39-79_0027.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.600586, 0.754883)出界：guxinmei-13-18-39-79_0028.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.600586, 0.754883)出界：guxinmei-13-18-39-79_0028.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.597656, 0.75)出界：guxinmei-13-18-39-79_0029.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.597656, 0.75)出界：guxinmei-13-18-39-79_0029.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.601562, 0.759766)出界：guxinmei-13-18-39-79_0030.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.601562, 0.759766)出界：guxinmei-13-18-39-79_0030.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.606445, 0.761719)出界：guxinmei-13-18-39-79_0031.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.606445, 0.761719)出界：guxinmei-13-18-39-79_0031.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.604492, 0.763672)出界：guxinmei-13-18-39-79_0032.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.604492, 0.763672)出界：guxinmei-13-18-39-79_0032.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.602539, 0.766602)出界：guxinmei-13-18-39-79_0033.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.602539, 0.766602)出界：guxinmei-13-18-39-79_0033.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/guxinmei-13-18-39-79/labels/guxinmei-13-18-39-79_0064.txt'\n",
    "******Processing hanjinxiao-31-43-80-183******\n",
    "******Processing heguansheng-15-20-43-92******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/heguansheng-15-20-43-92/labels/heguansheng-15-20-43-92_0081.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/hexiena-18-22-38-82/labels/hexiena-18-22-38-82_0022.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/hexiena-18-22-38-82/labels/hexiena-18-22-38-82_0022.txt'\n",
    "******Processing hexiena-18-22-38-82******\n",
    "******Processing huangfujuan-38-47-80-178******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangfujuan-38-47-80-178_0062.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangfujuan-38-47-80-178_0063.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangfujuan-38-47-80-178_0066.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangfujuan-38-47-80-178_0067.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/huangfujuan-38-47-80-178/labels/huangfujuan-38-47-80-178_0071.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/huangfujuan-38-47-80-178/labels/huangfujuan-38-47-80-178_0071.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangfujuan-38-47-80-178_0072.txt\n",
    "******Processing huangguixian-24-28-45-101******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangguixian-24-28-45-101_0028.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangguixian-24-28-45-101_0029.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangguixian-24-28-45-101_0030.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangguixian-24-28-45-101_0032.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangguixian-24-28-45-101_0033.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangguixian-24-28-45-101_0034.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangguixian-24-28-45-101_0035.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangguixian-24-28-45-101_0036.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangguixian-24-28-45-101_0037.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangguixian-24-28-45-101_0038.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangguixian-24-28-45-101_0039.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangguixian-24-28-45-101_0040.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/huangguixian-24-28-45-101/labels/huangguixian-24-28-45-101_0050.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/huangguixian-24-28-45-101/labels/huangguixian-24-28-45-101_0052.txt'\n",
    "******Processing huangjuzhen-13-17-29-77******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangjuzhen-13-17-29-77_0022.txt\n",
    "******Processing huanglongsheng-23-28-46-92******\n",
    "******Processing huangweigen-24-32-62-138******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/huangweigen-24-32-62-138/labels/huangweigen-24-32-62-138_0118.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangxiang-22-26-42-84_0026.txt\n",
    "******Processing huangxiang-22-26-42-84******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/huangxiang-22-26-42-84/labels/huangxiang-22-26-42-84_0070.txt'\n",
    "******Processing hukaipin-29-39-73-159******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：hukaipin-29-39-73-159_0055.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：hukaipin-29-39-73-159_0056.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/hukaipin-29-39-73-159/labels/hukaipin-29-39-73-159_0119.txt'\n",
    "******Processing jiangshengfang-19-23-34-79******\n",
    "******Processing jiangyuxiang-15-19-37-83******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：jiangyuxiang-15-19-37-83_0022.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/jiangyuxiang-15-19-37-83/labels/jiangyuxiang-15-19-37-83_0062.txt'\n",
    "******Processing jinaixiang-34-41-63-149******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/jinaixiang-34-41-63-149/labels/jinaixiang-34-41-63-149_0102.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/jinaixiang-34-41-63-149/labels/jinaixiang-34-41-63-149_0103.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/jinaixiang-34-41-63-149/labels/jinaixiang-34-41-63-149_0104.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/jinaixiang-34-41-63-149/labels/jinaixiang-34-41-63-149_0105.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/jinaixiang-34-41-63-149/labels/jinaixiang-34-41-63-149_0106.txt'\n",
    "******Processing jinangui-17-21-37-81******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：jinangui-17-21-37-81_0021.txt\n",
    "******Processing leijiuxiang-31-38-68-153******\n",
    "******Processing liangzhenwei-16-20-39-92******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/liangzhenwei-16-20-39-92/labels/liangzhenwei-16-20-39-92_0047.txt'\n",
    "******Processing lidanfa-11-16-34-72******\n",
    "******Processing lideming-16-23-43-90******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/lideming-16-23-43-90/labels/lideming-16-23-43-90_0065.txt'\n",
    "******Processing lifengyun-8-16-35-81******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lifengyun-8-16-35-81_0028.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lifengyun-8-16-35-81_0029.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/lifengyun-8-16-35-81/labels/lifengyun-8-16-35-81_0068.txt'\n",
    "******Processing liguihua-11-15-30-77******\n",
    "******Processing liguoyong-26-35-57-150******\n",
    "******Processing lihonggang-13-18-33-88******\n",
    "******Processing linaizhen-23-31-58-144******\n",
    "******Processing linshangjin-15-19-36-81******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：linshangjin-15-19-36-81_0029.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：linshangjin-15-19-36-81_0030.txt\n",
    "******Processing lirongchang-13-17-27-86******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lirongchang-13-17-27-86_0021.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/lirongchang-13-17-27-86/labels/lirongchang-13-17-27-86_0045.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/lirongchang-13-17-27-86/labels/lirongchang-13-17-27-86_0048.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/lirongchang-13-17-27-86/labels/lirongchang-13-17-27-86_0073.txt'\n",
    "******Processing lishankui-17-25-56-142******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/lishankui-17-25-56-142/labels/lishankui-17-25-56-142_0113.txt'\n",
    "******Processing liuxiaolin-39-49-81-176******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/liuxiaolin-39-49-81-176/labels/liuxiaolin-39-49-81-176_0152.txt'\n",
    "******Processing lixiebing-17-20-37-87******\n",
    "******Processing liyingsheng-13-17-34-87******\n",
    "******Processing liyufang-32-40-68-138******\n",
    "******Processing liyunkun-29-33-51-99******\n",
    "******Processing lizufu-21-26-42-93******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/lizufu-21-26-42-93/labels/lizufu-21-26-42-93_0072.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/lizufu-21-26-42-93/labels/lizufu-21-26-42-93_0073.txt'\n",
    "******Processing lizuojing-27-36-63-137******\n",
    "******Processing longpiaojiang-29-40-65-184******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：longpiaojiang-29-40-65-184_0055.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：longpiaojiang-29-40-65-184_0056.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/longpiaojiang-29-40-65-184/labels/longpiaojiang-29-40-65-184_0111.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/longpiaojiang-29-40-65-184/labels/longpiaojiang-29-40-65-184_0125.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/longpiaojiang-29-40-65-184/labels/longpiaojiang-29-40-65-184_0126.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/longpiaojiang-29-40-65-184/labels/longpiaojiang-29-40-65-184_0127.txt'\n",
    "******Processing longyingdong-21-25-40-99******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/longyingdong-21-25-40-99/labels/longyingdong-21-25-40-99_0084.txt'\n",
    "******Processing loucaidi-26-35-63-154******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loucaidi-26-35-63-154/labels/loucaidi-26-35-63-154_0124.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loucaidi-26-35-63-154/labels/loucaidi-26-35-63-154_0125.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loucaidi-26-35-63-154/labels/loucaidi-26-35-63-154_0126.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loucaidi-26-35-63-154/labels/loucaidi-26-35-63-154_0127.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loucaidi-26-35-63-154/labels/loucaidi-26-35-63-154_0128.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loucaidi-26-35-63-154/labels/loucaidi-26-35-63-154_0129.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loucaidi-26-35-63-154/labels/loucaidi-26-35-63-154_0130.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loucaidi-26-35-63-154/labels/loucaidi-26-35-63-154_0131.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loucaidi-26-35-63-154/labels/loucaidi-26-35-63-154_0132.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loucaidi-26-35-63-154/labels/loucaidi-26-35-63-154_0133.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loucaidi-26-35-63-154/labels/loucaidi-26-35-63-154_0134.txt'\n",
    "******Processing loudinghong-18-22-39-93******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loudinghong-18-22-39-93/labels/loudinghong-18-22-39-93_0053.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loudinghong-18-22-39-93/labels/loudinghong-18-22-39-93_0054.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loudinghong-18-22-39-93/labels/loudinghong-18-22-39-93_0079.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loudinghong-18-22-39-93/labels/loudinghong-18-22-39-93_0080.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loudinghong-18-22-39-93/labels/loudinghong-18-22-39-93_0081.txt'\n",
    "******Processing lucaifa-25-34-62-147******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lucaifa-25-34-62-147_0052.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lucaifa-25-34-62-147_0053.txt\n",
    "******Processing luguiyun-10-16-27-82******\n",
    "******Processing lulimian-24-31-64-135******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lulimian-24-31-64-135_0051.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lulimian-24-31-64-135_0052.txt\n",
    "******Processing lumin-13-17-34-85******\n",
    "******Processing luojun-22-29-51-139******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/luojun-22-29-51-139/labels/luojun-22-29-51-139_0109.txt'\n",
    "******Processing luoshuijin-15-19-35-74******\n",
    "******Processing luweiqing-16-20-37-93******\n",
    "******Processing magengqiu-41-49-89-195******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：magengqiu-41-49-89-195_0052.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：magengqiu-41-49-89-195_0076.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：magengqiu-41-49-89-195_0077.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：magengqiu-41-49-89-195_0078.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：magengqiu-41-49-89-195_0079.txt\n",
    "******Processing malingfeng-12-17-32-75******\n",
    "******Processing maoshangxin-33-44-85-195******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：maoshangxin-33-44-85-195_0071.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/maoshangxin-33-44-85-195/labels/maoshangxin-33-44-85-195_0095.txt'\n",
    "******Processing ouyangyuedong-19-25-43-89******\n",
    "******Processing panxiangyang-45-53-97-196******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：panxiangyang-45-53-97-196_0085.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.759766, 0.532227)出界：panxiangyang-45-53-97-196_0114.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.762695, 0.511719)出界：panxiangyang-45-53-97-196_0121.txt\n",
    "******Processing puchenhu-18-21-33-89******\n",
    "******Processing qianaqin-18-26-52-141******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/qianaqin-18-26-52-141/labels/qianaqin-18-26-52-141_0061.txt'\n",
    "******Processing qihuazhong-16-20-29-82******\n",
    "******Processing quzhuming-31-41-69-192******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：quzhuming-31-41-69-192_0049.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：quzhuming-31-41-69-192_0052.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：quzhuming-31-41-69-192_0053.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：quzhuming-31-41-69-192_0054.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：quzhuming-31-41-69-192_0056.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：quzhuming-31-41-69-192_0060.txt\n",
    "******Processing shanmingdong-22-31-58-150******\n",
    "******Processing shenfengmei-29-36-58-130******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shenfengmei-29-36-58-130/labels/shenfengmei-29-36-58-130_0110.txt'\n",
    "******Processing shengmingzhen-10-13-26-75******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shengmingzhen-10-13-26-75/labels/shengmingzhen-10-13-26-75_0063.txt'\n",
    "******Processing shenjianyi-35-48-95-188******\n",
    "******Processing shenyan-16-23-57-125******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：shenyan-16-23-57-125_0043.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shenyan-16-23-57-125/labels/shenyan-16-23-57-125_0062.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shenyan-16-23-57-125/labels/shenyan-16-23-57-125_0067.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shenyan-16-23-57-125/labels/shenyan-16-23-57-125_0103.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shenyan-16-23-57-125/labels/shenyan-16-23-57-125_0104.txt'\n",
    "******Processing shenyunzhou-24-33-70-141******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shenyunzhou-24-33-70-141/labels/shenyunzhou-24-33-70-141_0104.txt'\n",
    "******Processing shouyunfang-20-26-42-136******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：shouyunfang-20-26-42-136_0031.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：shouyunfang-20-26-42-136_0033.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0071.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0072.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0073.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0074.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0075.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0076.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0077.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0080.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0081.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0082.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0083.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0084.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0085.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0086.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0087.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0088.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0090.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0091.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0092.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0094.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0098.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/shouyunfang-20-26-42-136/labels/shouyunfang-20-26-42-136_0114.txt'\n",
    "******Processing taoxiuwei-26-34-54-137******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/taoxiuwei-26-34-54-137/labels/taoxiuwei-26-34-54-137_0083.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/taoxiuwei-26-34-54-137/labels/taoxiuwei-26-34-54-137_0084.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/taoxiuwei-26-34-54-137/labels/taoxiuwei-26-34-54-137_0095.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/taoxiuwei-26-34-54-137/labels/taoxiuwei-26-34-54-137_0096.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/taoxiuwei-26-34-54-137/labels/taoxiuwei-26-34-54-137_0109.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/taoxiuwei-26-34-54-137/labels/taoxiuwei-26-34-54-137_0110.txt'\n",
    "******Processing tuyurong-15-18-34-88******\n",
    "******Processing wangahai-16-22-43-91******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangahai-16-22-43-91/labels/wangahai-16-22-43-91_0067.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangahai-16-22-43-91/labels/wangahai-16-22-43-91_0068.txt'\n",
    "******Processing wangbeibei-28-38-62-148******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangbeibei-28-38-62-148/labels/wangbeibei-28-38-62-148_0080.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangbeibei-28-38-62-148/labels/wangbeibei-28-38-62-148_0081.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangbeibei-28-38-62-148/labels/wangbeibei-28-38-62-148_0082.txt'\n",
    "******Processing wangfancun-28-39-72-175******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wangfancun-28-39-72-175_0060.txt\n",
    "******Processing wanghaifang-40-47-83-160******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.552734, 0.75)出界：wanghaifang-40-47-83-160_0060.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.552734, 0.75)出界：wanghaifang-40-47-83-160_0060.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.551758, 0.75293)出界：wanghaifang-40-47-83-160_0061.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.551758, 0.75293)出界：wanghaifang-40-47-83-160_0061.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.550781, 0.753906)出界：wanghaifang-40-47-83-160_0062.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.550781, 0.753906)出界：wanghaifang-40-47-83-160_0062.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.551758, 0.753906)出界：wanghaifang-40-47-83-160_0063.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.551758, 0.753906)出界：wanghaifang-40-47-83-160_0063.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.754883)出界：wanghaifang-40-47-83-160_0064.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.754883)出界：wanghaifang-40-47-83-160_0064.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.757812)出界：wanghaifang-40-47-83-160_0065.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.757812)出界：wanghaifang-40-47-83-160_0065.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.552734, 0.758789)出界：wanghaifang-40-47-83-160_0066.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.552734, 0.758789)出界：wanghaifang-40-47-83-160_0066.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.758789)出界：wanghaifang-40-47-83-160_0067.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.758789)出界：wanghaifang-40-47-83-160_0067.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.552734, 0.758789)出界：wanghaifang-40-47-83-160_0068.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.552734, 0.758789)出界：wanghaifang-40-47-83-160_0068.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.759766)出界：wanghaifang-40-47-83-160_0069.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.759766)出界：wanghaifang-40-47-83-160_0069.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.550781, 0.758789)出界：wanghaifang-40-47-83-160_0070.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.550781, 0.758789)出界：wanghaifang-40-47-83-160_0070.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.552734, 0.758789)出界：wanghaifang-40-47-83-160_0071.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.552734, 0.758789)出界：wanghaifang-40-47-83-160_0071.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.552734, 0.757812)出界：wanghaifang-40-47-83-160_0072.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.552734, 0.757812)出界：wanghaifang-40-47-83-160_0072.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.552734, 0.757812)出界：wanghaifang-40-47-83-160_0073.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.552734, 0.757812)出界：wanghaifang-40-47-83-160_0073.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.552734, 0.756836)出界：wanghaifang-40-47-83-160_0074.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 16, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.552734, 0.756836)出界：wanghaifang-40-47-83-160_0074.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wanghaifang-40-47-83-160/labels/wanghaifang-40-47-83-160_0104.txt'\n",
    "******Processing wangjianlin-15-21-37-82******\n",
    "******Processing wangjie-15-19-31-49******\n",
    "******Processing wangwei-16-20-36-87******\n",
    "******Processing wangying-30-36-77-162******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wangying-30-36-77-162_0041.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wangying-30-36-77-162_0042.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangying-30-36-77-162/labels/wangying-30-36-77-162_0109.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangying-30-36-77-162/labels/wangying-30-36-77-162_0126.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangying-30-36-77-162/labels/wangying-30-36-77-162_0127.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangying-30-36-77-162/labels/wangying-30-36-77-162_0128.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangying-30-36-77-162/labels/wangying-30-36-77-162_0129.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangying-30-36-77-162/labels/wangying-30-36-77-162_0138.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangying-30-36-77-162/labels/wangying-30-36-77-162_0139.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangying-30-36-77-162/labels/wangying-30-36-77-162_0140.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangying-30-36-77-162/labels/wangying-30-36-77-162_0143.txt'\n",
    "******Processing wangyouxiang-21-27-41-131******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0059.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0060.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0061.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0062.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0063.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0064.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0065.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0066.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0067.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0068.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0069.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0080.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0081.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0092.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0098.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0099.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0100.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0103.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0104.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0107.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0108.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0109.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0110.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0111.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wangyouxin-34-42-64-160_0045.txt\n",
    "******Processing wangyouxin-34-42-64-160******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxin-34-42-64-160/labels/wangyouxin-34-42-64-160_0083.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxin-34-42-64-160/labels/wangyouxin-34-42-64-160_0123.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxin-34-42-64-160/labels/wangyouxin-34-42-64-160_0125.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxin-34-42-64-160/labels/wangyouxin-34-42-64-160_0135.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxin-34-42-64-160/labels/wangyouxin-34-42-64-160_0137.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxin-34-42-64-160/labels/wangyouxin-34-42-64-160_0138.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxin-34-42-64-160/labels/wangyouxin-34-42-64-160_0139.txt'\n",
    "******Processing wangyuncai-14-20-34-91******\n",
    "******Processing weifengli-26-34-62-147******\n",
    "******Processing weihuiqiong-27-33-58-137******\n",
    "******Processing wenshuijuan-30-36-66-145******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0038.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0038.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0039.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0039.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0041.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0041.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0042.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0042.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0044.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0045.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0046.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0046.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0047.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0048.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0049.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0050.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0051.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0052.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0055.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0056.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0072.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0073.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0074.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0077.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0078.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0079.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0080.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0081.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0087.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.773438, 0.588867)出界：wenshuijuan-30-36-66-145_0106.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.775391, 0.588867)出界：wenshuijuan-30-36-66-145_0107.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0117.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0126.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0127.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0128.txt'\n",
    "******Processing wuhanjiang-18-22-39-85******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wuhanjiang-18-22-39-85_0034.txt\n",
    "******Processing wumingshi2021061701-25-28-45-98******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wumingshi2021061701-25-28-45-98/labels/wumingshi2021061701-25-28-45-98_0073.txt'\n",
    "******Processing wumingshi2021080102-38-47-85-156******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wumingshi2021080102-38-47-85-156_0049.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wumingshi2021080102-38-47-85-156_0050.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wumingshi2021080102-38-47-85-156_0051.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wumingshi2021080102-38-47-85-156_0052.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wumingshi2021080102-38-47-85-156_0053.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wumingshi2021080102-38-47-85-156_0073.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wumingshi2021080102-38-47-85-156_0074.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wumingshi2021080102-38-47-85-156/labels/wumingshi2021080102-38-47-85-156_0093.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.298828, 0.758789)出界：wumingshi2021080102-38-47-85-156_0107.txt\n",
    "******Processing wupingzhen-15-19-34-82******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wupingzhen-15-19-34-82_0029.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wupingzhen-15-19-34-82/labels/wupingzhen-15-19-34-82_0048.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wupingzhen-15-19-34-82/labels/wupingzhen-15-19-34-82_0049.txt'\n",
    "******Processing wuqinmei-24-32-52-140******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wuqinmei-24-32-52-140_0042.txt\n",
    "******Processing wuruqing-49-60-96-153******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wuruqing-49-60-96-153_0062.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wuruqing-49-60-96-153_0063.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuruqing-49-60-96-153/labels/wuruqing-49-60-96-153_0064.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuruqing-49-60-96-153/labels/wuruqing-49-60-96-153_0064.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wuruqing-49-60-96-153_0065.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuruqing-49-60-96-153/labels/wuruqing-49-60-96-153_0066.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuruqing-49-60-96-153/labels/wuruqing-49-60-96-153_0066.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wuruqing-49-60-96-153_0068.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wuruqing-49-60-96-153_0069.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuruqing-49-60-96-153/labels/wuruqing-49-60-96-153_0070.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuruqing-49-60-96-153/labels/wuruqing-49-60-96-153_0070.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wuruqing-49-60-96-153_0078.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wuruqing-49-60-96-153_0081.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wuruqing-49-60-96-153_0082.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wuruqing-49-60-96-153_0083.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuruqing-49-60-96-153/labels/wuruqing-49-60-96-153_0084.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuruqing-49-60-96-153/labels/wuruqing-49-60-96-153_0084.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wuruqing-49-60-96-153_0085.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wuruqing-49-60-96-153_0086.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wuruqing-49-60-96-153_0087.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuruqing-49-60-96-153/labels/wuruqing-49-60-96-153_0121.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuruqing-49-60-96-153/labels/wuruqing-49-60-96-153_0123.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuruqing-49-60-96-153/labels/wuruqing-49-60-96-153_0131.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 12, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.654297, 0.760742)出界：wuruqing-49-60-96-153_0132.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 12, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.652344, 0.754883)出界：wuruqing-49-60-96-153_0133.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 15, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.655273, 0.75)出界：wuruqing-49-60-96-153_0134.txt\n",
    "******Processing wutiandi-21-28-54-120******\n",
    "******Processing wuyanxian-17-21-36-83******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wuyanxian-17-21-36-83_0027.txt\n",
    "******Processing wuzongtang-29-36-76-141******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuzongtang-29-36-76-141/labels/wuzongtang-29-36-76-141_0119.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuzongtang-29-36-76-141/labels/wuzongtang-29-36-76-141_0120.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuzongtang-29-36-76-141/labels/wuzongtang-29-36-76-141_0121.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuzongtang-29-36-76-141/labels/wuzongtang-29-36-76-141_0122.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuzongtang-29-36-76-141/labels/wuzongtang-29-36-76-141_0123.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuzongtang-29-36-76-141/labels/wuzongtang-29-36-76-141_0124.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuzongtang-29-36-76-141/labels/wuzongtang-29-36-76-141_0125.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuzongtang-29-36-76-141/labels/wuzongtang-29-36-76-141_0126.txt'\n",
    "******Processing xiabao-33-42-78-196******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/xiabao-33-42-78-196/labels/xiabao-33-42-78-196_0157.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/xiabao-33-42-78-196/labels/xiabao-33-42-78-196_0161.txt'\n",
    "******Processing xiangbaiquan-27-37-71-156******\n",
    "******Processing xiaofuxin-25-33-64-153******\n",
    "******Processing xiasuifu-12-18-30-84******\n",
    "******Processing xiyongmin-25-35-62-162******\n",
    "******Processing xucaifeng-21-25-52-88******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：xucaifeng-21-25-52-88_0026.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：xucaifeng-21-25-52-88_0029.txt\n",
    "******Processing xujianhua-16-20-39-87******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/xujianhua-16-20-39-87/labels/xujianhua-16-20-39-87_0074.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/xujianhua-16-20-39-87/labels/xujianhua-16-20-39-87_0075.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/xujianhua-16-20-39-87/labels/xujianhua-16-20-39-87_0076.txt'\n",
    "******Processing xurihua-26-34-61-145******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：xurihua-26-34-61-145_0054.txt\n",
    "******Processing xuyuetian-22-30-53-132******\n",
    "******Processing xuzhengcheng-20-30-56-144******\n",
    "******Processing yangjinnan-31-38-67-146******\n",
    "******Processing yangshujuan-30-39-62-160******\n",
    "******Processing yangtangyong-15-19-35-85******\n",
    "******Processing yangzengrong-37-48-78-188******\n",
    "******Processing yesenfei-22-32-53-172******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yesenfei-22-32-53-172_0043.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yesenfei-22-32-53-172_0045.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yesenfei-22-32-53-172_0046.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yesenfei-22-32-53-172/labels/yesenfei-22-32-53-172_0122.txt'\n",
    "******Processing yinggenhua-36-45-72-174******\n",
    "******Processing yuanxiazhen-14-18-36-76******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yuanxiazhen-14-18-36-76_0018.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yuanxiazhen-14-18-36-76_0019.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yuanxiazhen-14-18-36-76_0029.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yuanxiazhen-14-18-36-76/labels/yuanxiazhen-14-18-36-76_0042.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yuanxiazhen-14-18-36-76/labels/yuanxiazhen-14-18-36-76_0043.txt'\n",
    "******Processing yuanxicai-35-43-85-169******\n",
    "******Processing yubaisong-25-33-65-152******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yubaisong-25-33-65-152/labels/yubaisong-25-33-65-152_0109.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yubaisong-25-33-65-152/labels/yubaisong-25-33-65-152_0121.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yubaisong-25-33-65-152/labels/yubaisong-25-33-65-152_0122.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yubaisong-25-33-65-152/labels/yubaisong-25-33-65-152_0128.txt'\n",
    "******Processing yuyinglong-24-30-51-98******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yuyinglong-24-30-51-98/labels/yuyinglong-24-30-51-98_0054.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yuyinglong-24-30-51-98/labels/yuyinglong-24-30-51-98_0081.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yuyinglong-24-30-51-98/labels/yuyinglong-24-30-51-98_0083.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yuyinglong-24-30-51-98/labels/yuyinglong-24-30-51-98_0085.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yuyinglong-24-30-51-98/labels/yuyinglong-24-30-51-98_0086.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yuyinglong-24-30-51-98/labels/yuyinglong-24-30-51-98_0087.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yuyunfu-26-33-66-148_0035.txt\n",
    "******Processing yuyunfu-26-33-66-148******\n",
    "******Processing yuzhixue-16-21-38-91******\n",
    "******Processing zengchenhong-39-46-73-146******\n",
    "******Processing zengshengjiang-19-23-36-89******\n",
    "******Processing zhangguanghong-39-46-68-156******\n",
    "******Processing zhangguofeng-25-30-45-97******\n",
    "******Processing zhanghonghu-37-45-69-149******\n",
    "******Processing zhangjingjing-16-19-30-78******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhangjingjing-16-19-30-78_0025.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhangjingjing-16-19-30-78_0026.txt\n",
    "******Processing zhangjingzhong-53-59-85-174******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhangjingzhong-53-59-85-174_0073.txt\n",
    "******Processing zhangjunfei-25-33-52-125******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangjunfei-25-33-52-125/labels/zhangjunfei-25-33-52-125_0109.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhangkesheng-27-34-63-144_0044.txt\n",
    "******Processing zhangkesheng-27-34-63-144******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangkesheng-27-34-63-144/labels/zhangkesheng-27-34-63-144_0104.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangkesheng-27-34-63-144/labels/zhangkesheng-27-34-63-144_0117.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangkesheng-27-34-63-144/labels/zhangkesheng-27-34-63-144_0118.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangkesheng-27-34-63-144/labels/zhangkesheng-27-34-63-144_0120.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangkesheng-27-34-63-144/labels/zhangkesheng-27-34-63-144_0121.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangkesheng-27-34-63-144/labels/zhangkesheng-27-34-63-144_0122.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangkesheng-27-34-63-144/labels/zhangkesheng-27-34-63-144_0126.txt'\n",
    "******Processing zhangmeiqin-19-22-39-86******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangmeiqin-19-22-39-86/labels/zhangmeiqin-19-22-39-86_0069.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangmeiqin-19-22-39-86/labels/zhangmeiqin-19-22-39-86_0073.txt'\n",
    "******Processing zhangsuyun-18-21-37-81******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangsuyun-18-21-37-81/labels/zhangsuyun-18-21-37-81_0067.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangsuyun-18-21-37-81/labels/zhangsuyun-18-21-37-81_0069.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangsuyun-18-21-37-81/labels/zhangsuyun-18-21-37-81_0070.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangsuyun-18-21-37-81/labels/zhangsuyun-18-21-37-81_0071.txt'\n",
    "******Processing zhangweiyong-24-31-60-148******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangweiyong-24-31-60-148/labels/zhangweiyong-24-31-60-148_0112.txt'\n",
    "******Processing zhangyanjun-24-27-45-90******\n",
    "******Processing zhangyitian-26-32-55-148******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangyitian-26-32-55-148/labels/zhangyitian-26-32-55-148_0076.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangyitian-26-32-55-148/labels/zhangyitian-26-32-55-148_0078.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangyitian-26-32-55-148/labels/zhangyitian-26-32-55-148_0079.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangyitian-26-32-55-148/labels/zhangyitian-26-32-55-148_0098.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangyitian-26-32-55-148/labels/zhangyitian-26-32-55-148_0099.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangyitian-26-32-55-148/labels/zhangyitian-26-32-55-148_0100.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangyitian-26-32-55-148/labels/zhangyitian-26-32-55-148_0101.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangyitian-26-32-55-148/labels/zhangyitian-26-32-55-148_0110.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangyitian-26-32-55-148/labels/zhangyitian-26-32-55-148_0122.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangyitian-26-32-55-148/labels/zhangyitian-26-32-55-148_0123.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangyitian-26-32-55-148/labels/zhangyitian-26-32-55-148_0125.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangyitian-26-32-55-148/labels/zhangyitian-26-32-55-148_0126.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangyitian-26-32-55-148/labels/zhangyitian-26-32-55-148_0127.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangyitian-26-32-55-148/labels/zhangyitian-26-32-55-148_0128.txt'\n",
    "******Processing zhanmin-18-23-37-88******\n",
    "******Processing zhaomin-11-15-32-86******\n",
    "******Processing zhaorong-33-42-71-163******\n",
    "******Processing zhaosuifang-23-34-61-154******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhaosuifang-23-34-61-154_0048.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhaosuifang-23-34-61-154_0050.txt\n",
    "******Processing zhaoyijun-17-20-33-82******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhaoyijun-17-20-33-82/labels/zhaoyijun-17-20-33-82_0063.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhaoyijun-17-20-33-82/labels/zhaoyijun-17-20-33-82_0071.txt'\n",
    "******Processing zhengfahong-22-26-44-99******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhengfahong-22-26-44-99/labels/zhengfahong-22-26-44-99_0086.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhengjuying-16-19-33-86_0022.txt\n",
    "******Processing zhengjuying-16-19-33-86******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhengjuying-16-19-33-86/labels/zhengjuying-16-19-33-86_0044.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhengjuying-16-19-33-86/labels/zhengjuying-16-19-33-86_0058.txt'\n",
    "******Processing zhengxiusheng-20-26-45-93******\n",
    "******Processing zhengxuefei-21-24-43-86******\n",
    "******Processing zhengyouduo-23-27-41-83******\n",
    "******Processing zhoubo-19-26-41-137******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhoubo-19-26-41-137/labels/zhoubo-19-26-41-137_0111.txt'\n",
    "******Processing zhouhaibin-30-39-74-185******\n",
    "******Processing zhoushan-17-20-39-78******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhoushan-17-20-39-78_0032.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhoushan-17-20-39-78_0033.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhoushan-17-20-39-78_0034.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhoushan-17-20-39-78/labels/zhoushan-17-20-39-78_0048.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhoushan-17-20-39-78/labels/zhoushan-17-20-39-78_0049.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhoushan-17-20-39-78/labels/zhoushan-17-20-39-78_0050.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhoushan-17-20-39-78/labels/zhoushan-17-20-39-78_0059.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhoushan-17-20-39-78/labels/zhoushan-17-20-39-78_0061.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhoushan-17-20-39-78/labels/zhoushan-17-20-39-78_0068.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhoushan-17-20-39-78/labels/zhoushan-17-20-39-78_0069.txt'\n",
    "******Processing zhoushijun-30-37-64-145******\n",
    "******Processing zhouweiqiang-19-24-42-90******\n",
    "******Processing zhouwudi-35-42-74-159******\n",
    "******Processing zhouxinya-24-30-40-120******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0030.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0030.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0031.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0031.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0032.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 52, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0032.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhouxinya-24-30-40-120_0033.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 43, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 9, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhouxinya-24-30-40-120_0034.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0048.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0049.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0050.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0052.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0053.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0054.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0055.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0056.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0057.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0058.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0059.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0060.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0061.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0062.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0063.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0064.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0065.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0067.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0069.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0070.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0071.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0072.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0076.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0077.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0078.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0079.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0083.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0084.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0085.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0092.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0093.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0094.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0095.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0096.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0097.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0098.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0099.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0100.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0101.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0102.txt'\n",
    "******Processing zhouxiushan-14-18-34-84******\n",
    "******Processing zhouyongjin-17-21-35-87******\n",
    "******Processing zhouzhangyun-26-35-61-136******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouzhangyun-26-35-61-136/labels/zhouzhangyun-26-35-61-136_0103.txt'\n",
    "******Processing zhudamin-33-41-70-156******\n",
    "******Processing zhujianping-23-29-57-149******\n",
    "******Processing zhumeizheng-34-42-69-167******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhumeizheng-34-42-69-167/labels/zhumeizheng-34-42-69-167_0146.txt'\n",
    "******Processing zhuxiaoqin-22-29-50-130******\n",
    "******Processing zhuxinnan-18-26-49-129******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhuxinnan-18-26-49-129/labels/zhuxinnan-18-26-49-129_0107.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhuxinnan-18-26-49-129/labels/zhuxinnan-18-26-49-129_0108.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 66, in <module>\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-126-51855bacc888>\", line 5, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhuxinnan-18-26-49-129/labels/zhuxinnan-18-26-49-129_0109.txt'\n",
    "******Processing zoudeling-11-15-30-84******"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "baa3b200",
   "metadata": {},
   "outputs": [],
   "source": [
    "9月29日阴性\n",
    "115\n",
    "['baimeizhu-27-37-54-136', 'caijinfei-34-42-51-155', 'chengenye-13-18-28-79', 'chenguoming-28-38-60-144', 'chenjinfu-11-18-30-80', 'chenjunbing-22-29-34-89', 'chenliuer-23-32-43-140', 'chenpeisheng-15-20-28-82', 'chenweiming-29-39-59-150', 'chenyilin-21-26-36-86', 'dengdeyu-18-27-43-152', 'dingshuigen-28-38-53-136', 'fangjinchai-19-23-31-81', 'fengaiyuan-26-32-46-121', 'fengqiufen-14-19-27-75', 'fujingjing-24-32-39-127', 'gaoanhui-17-22-31-85', 'guohao-25-30-38-94', 'guoyafang-24-29-52-136', 'hebaomin-28-37-54-145', 'hongxia-17-34-43-122', 'huangjiabao-22-27-33-53', 'huaweiqin-15-25-33-77', 'huxiangxin-19-24-34-86', 'huyongxian-18-25-38-88', 'jiangchengsan-25-34-50-133', 'jiangguanshui-16-21-31-85', 'jiangjiaqi-23-30-39-140', 'jiangjinfeng-26-39-58-152', 'jiangxiangzhong-15-20-29-83', 'jinjianrong-19-24-32-86', 'jinxianqing-15-23-37-81', 'jinyu-19-29-44-146', 'laijinhu-14-21-34-83', 'liaoxiuhua-36-44-55-144', 'lijunhua-15-21-27-82', 'lintianye-18-28-46-136', 'liujun-8-15-27-95', 'liulixuan-16-22-27-87', 'liyunbo-21-28-45-150', 'luguojing-27-36-47-141', 'luojinfeng-30-38-53-149', 'lushuyun-19-30-47-149', 'lvbiqiang-34-42-63-143', 'mahuiwu-10-14-23-84', 'meipingan-36-45-60-137', 'ningjiangui-18-23-30-83', 'nisixiang-11-17-25-81', 'panxiuping-29-38-55-142', 'panyuda-29-36-52-102', 'pengyufei-31-39-51-154', 'qiuwei-31-39-53-138', 'qizhikun-29-37-57-130', 'renjiali-34-42-52-138', 'renlaifa-19-30-53-153', 'shanziliang-13-19-30-90', 'shaochuanlai-16-22-36-83', 'shenshuigen-30-41-56-140', 'shenxuemei-15-21-28-79', 'shenxuhong-20-24-34-82', 'shenyaping-30-40-57-139', 'shenzhongmin-36-47-68-140', 'shenziming-17-24-34-84', 'sunlutao-14-23-70-127', 'tangshuiming-33-44-68-153', 'taowenming-23-32-59-138', 'tongyanwen-22-27-41-89', 'wangaifang-13-19-28-74', 'wangdandan-32-39-50-142', 'wanghongchu-23-35-67-142', 'wangjinlie-26-33-45-87', 'wangluhua-18-23-32-87', 'wangwei-32-39-50-139', 'wangwuzhuang-28-33-41-98', 'wangyunxian-18-27-39-134', 'wufenai-9-15-28-81', 'wujianguo-14-20-29-89', 'wumingshi2021040501-17-22-30-81', 'wuyunfang-20-25-34-85', 'xiajinying-22-32-46-134', 'xiangzhaochong-15-20-31-78', 'xiegenjun-21-26-34-93', 'xiejun-18-27-43-122', 'xiemeiying-21-29-41-127', 'xieshangyong-14-20-27-87', 'xucaifeng-20-26-43-83', 'xucaizhen-27-37-51-131', 'xuguangtai-16-21-36-91', 'xuxuee-22-30-45-123', 'yananfen-29-39-56-146', 'yangqingyue-31-39-50-128', 'yangyuqi-34-44-60-157', 'yangzhengfu-18-22-32-75', 'yujixin-32-41-62-143', 'yukang-17-22-27-82', 'yukang-27-36-46-135', 'yumengting-19-26-36-123', 'yupengjie-26-34-46-134', 'yushengfu-31-40-56-154', 'yuweiliang-29-35-47-104', 'yuxiaotu-20-25-36-90', 'zengchunsheng-23-30-41-128', 'zhangbaoyou-29-40-60-148', 'zhangdanye-31-38-50-143', 'zhanghuanquan-17-22-29-75', 'zhanglanxian-19-28-48-129', 'zhangqingrong-32-43-73-161', 'zhaoyouyang-24-34-41-125', 'zhaozhongqi-16-21-30-80', 'zhengaizhu-22-34-66-149', 'zhouhongqiong-31-42-54-147', 'zhoutucai-35-44-66-158', 'zhouwenming-40-48-67-147', 'zhouxianhang-13-17-26-78', 'zhouzhangnv-12-18-31-80']\n",
    "\n",
    "\n",
    "******Processing baimeizhu-27-37-54-136******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0037.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0037.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0038.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0038.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0039.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0039.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0040.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0040.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0041.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0041.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0042.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0042.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0043.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0043.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0044.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0044.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0045.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0045.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0046.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0046.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0047.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/baimeizhu-27-37-54-136/labels/baimeizhu-27-37-54-136_0047.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：baimeizhu-27-37-54-136_0048.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：baimeizhu-27-37-54-136_0049.txt\n",
    "******Processing bairuixin-13-18-35-81******\n",
    "******Processing baodezhong-22-29-39-91******\n",
    "******Processing baoxialin-23-34-57-158******\n",
    "******Processing baoyanzu-15-20-31-87******\n",
    "******Processing caijinfei-34-42-51-155******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：caijinfei-34-42-51-155_0042.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：caijinfei-34-42-51-155_0044.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：caijinfei-34-42-51-155_0047.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：caijinfei-34-42-51-155_0048.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0089.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0090.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0091.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0092.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0093.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0094.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0095.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0096.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0097.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0098.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0099.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0101.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0102.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0106.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0108.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0109.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0110.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0111.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0112.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0113.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0114.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0115.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0116.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0121.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0124.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0125.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0126.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0127.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0132.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0133.txt'\n",
    "******Processing caishiping-18-24-34-85******\n",
    "******Processing caoyuying-18-22-33-79******\n",
    "******Processing chenbin-20-26-35-85******\n",
    "******Processing chenbingrong-31-40-61-153******\n",
    "******Processing chenchong-22-26-36-86******\n",
    "******Processing chendonghong-12-17-27-75******\n",
    "******Processing chengenye-13-18-28-79******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chengenye-13-18-28-79/labels/chengenye-13-18-28-79_0063.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chengenye-13-18-28-79/labels/chengenye-13-18-28-79_0064.txt'\n",
    "******Processing chengshaoping-19-28-45-132******\n",
    "******Processing chengshuiping-23-31-48-129******\n",
    "******Processing chenguoming-28-38-60-144******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenguoming-28-38-60-144/labels/chenguoming-28-38-60-144_0116.txt'\n",
    "******Processing chengyahui-17-22-29-82******\n",
    "******Processing chenjinfu-11-18-30-80******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：chenjinfu-11-18-30-80_0018.txt\n",
    "******Processing chenjufang-18-27-42-130******\n",
    "******Processing chenjunbing-22-29-34-89******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenjunbing-22-29-34-89/labels/chenjunbing-22-29-34-89_0038.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenjunbing-22-29-34-89/labels/chenjunbing-22-29-34-89_0041.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenjunbing-22-29-34-89/labels/chenjunbing-22-29-34-89_0065.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenjunbing-22-29-34-89/labels/chenjunbing-22-29-34-89_0072.txt'\n",
    "******Processing chenjunliang-27-37-58-147******\n",
    "******Processing chenlidong-18-23-32-88******\n",
    "******Processing chenlindi-16-22-34-78******\n",
    "******Processing chenliuer-23-32-43-140******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：chenliuer-23-32-43-140_0032.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0085.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.800781, 0.530273)出界：chenliuer-23-32-43-140_0086.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0088.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0090.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0091.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0092.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0093.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0094.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0095.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0096.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0097.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0098.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0099.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0100.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0101.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0102.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0104.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0105.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0106.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0107.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0109.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0111.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0116.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0117.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0119.txt'\n",
    "******Processing chenmaojin-14-20-31-90******\n",
    "******Processing chenpeisheng-15-20-28-82******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：chenpeisheng-15-20-28-82_0020.txt\n",
    "******Processing chenruohui-22-30-41-133******\n",
    "******Processing chenshigen-19-25-34-83******\n",
    "******Processing chensimeng-23-32-48-127******\n",
    "******Processing chenweiming-29-39-59-150******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenweiming-29-39-59-150/labels/chenweiming-29-39-59-150_0082.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenweiming-29-39-59-150/labels/chenweiming-29-39-59-150_0083.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenweiming-29-39-59-150/labels/chenweiming-29-39-59-150_0084.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenweiming-29-39-59-150/labels/chenweiming-29-39-59-150_0086.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenweiming-29-39-59-150/labels/chenweiming-29-39-59-150_0091.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenweiming-29-39-59-150/labels/chenweiming-29-39-59-150_0092.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenweiming-29-39-59-150/labels/chenweiming-29-39-59-150_0093.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenweiming-29-39-59-150/labels/chenweiming-29-39-59-150_0094.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenweiming-29-39-59-150/labels/chenweiming-29-39-59-150_0095.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenweiming-29-39-59-150/labels/chenweiming-29-39-59-150_0096.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenweiming-29-39-59-150/labels/chenweiming-29-39-59-150_0097.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenweiming-29-39-59-150/labels/chenweiming-29-39-59-150_0098.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenweiming-29-39-59-150/labels/chenweiming-29-39-59-150_0101.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenweiming-29-39-59-150/labels/chenweiming-29-39-59-150_0102.txt'\n",
    "******Processing chenweiqian-22-31-45-131******\n",
    "******Processing chenyegen-22-31-48-127******\n",
    "******Processing chenyilin-21-26-36-86******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenyilin-21-26-36-86/labels/chenyilin-21-26-36-86_0043.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/chenyilin-21-26-36-86/labels/chenyilin-21-26-36-86_0044.txt'\n",
    "******Processing chenyonghu-24-32-48-141******\n",
    "******Processing chenzhiqing-19-25-34-92******\n",
    "******Processing daicaihu-22-27-34-85******\n",
    "******Processing daijiandong-28-39-50-160******\n",
    "******Processing daixiaofeng-27-38-56-141******\n",
    "******Processing dengdeyu-18-27-43-152******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：dengdeyu-18-27-43-152_0033.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.883789, 0.314453)出界：dengdeyu-18-27-43-152_0109.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.878906, 0.316406)出界：dengdeyu-18-27-43-152_0110.txt\n",
    "******Processing dingbilian-33-44-59-135******\n",
    "******Processing dingshuigen-28-38-53-136******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/dingshuigen-28-38-53-136/labels/dingshuigen-28-38-53-136_0106.txt'\n",
    "******Processing dongxingzhen-9-13-23-77******\n",
    "******Processing duyangchun-16-22-31-90******\n",
    "******Processing fanggaoshen-30-42-66-159******\n",
    "******Processing fangjinchai-19-23-31-81******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：fangjinchai-19-23-31-81_0024.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：fangjinchai-19-23-31-81_0025.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：fangjinchai-19-23-31-81_0028.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/fangjinchai-19-23-31-81/labels/fangjinchai-19-23-31-81_0061.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/fangjinchai-19-23-31-81/labels/fangjinchai-19-23-31-81_0062.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/fangjinchai-19-23-31-81/labels/fangjinchai-19-23-31-81_0064.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/fangjinchai-19-23-31-81/labels/fangjinchai-19-23-31-81_0065.txt'\n",
    "******Processing fangpingan-20-33-47-134******\n",
    "******Processing fangzhengyi-26-37-53-153******\n",
    "******Processing fangzijian-19-30-50-153******\n",
    "******Processing fanshiming-15-20-30-83******\n",
    "******Processing fengaiyuan-26-32-46-121******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/fengaiyuan-26-32-46-121/labels/fengaiyuan-26-32-46-121_0099.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/fengaiyuan-26-32-46-121/labels/fengaiyuan-26-32-46-121_0100.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/fengaiyuan-26-32-46-121/labels/fengaiyuan-26-32-46-121_0101.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/fengaiyuan-26-32-46-121/labels/fengaiyuan-26-32-46-121_0102.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/fengaiyuan-26-32-46-121/labels/fengaiyuan-26-32-46-121_0103.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/fengaiyuan-26-32-46-121/labels/fengaiyuan-26-32-46-121_0104.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：fengqiufen-14-19-27-75_0018.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/fengqiufen-14-19-27-75/labels/fengqiufen-14-19-27-75_0019.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/fengqiufen-14-19-27-75/labels/fengqiufen-14-19-27-75_0019.txt'\n",
    "******Processing fengqiufen-14-19-27-75******\n",
    "******Processing fubaohua-30-41-62-149******\n",
    "******Processing fudiyang-22-30-46-128******\n",
    "******Processing fuhongliang-14-22-33-154******\n",
    "******Processing fujingjing-24-32-39-127******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/fujingjing-24-32-39-127/labels/fujingjing-24-32-39-127_0053.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/fujingjing-24-32-39-127/labels/fujingjing-24-32-39-127_0056.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/fujingjing-24-32-39-127/labels/fujingjing-24-32-39-127_0057.txt'\n",
    "******Processing gaoanhui-17-22-31-85******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/gaoanhui-17-22-31-85/labels/gaoanhui-17-22-31-85_0059.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/gaoanhui-17-22-31-85/labels/gaoanhui-17-22-31-85_0061.txt'\n",
    "******Processing gaoqigen-36-45-63-148******\n",
    "******Processing gaowenfu-16-26-50-141******\n",
    "******Processing gaozhaocheng-19-26-42-90******\n",
    "******Processing gaozhihua-20-26-37-93******\n",
    "******Processing gebingzhao-29-39-60-155******\n",
    "******Processing gegaocai-20-24-32-88******\n",
    "******Processing gejinhua-21-26-35-82******\n",
    "******Processing gezhidong-21-27-38-93******\n",
    "******Processing guoguican-13-19-30-78******\n",
    "******Processing guohao-25-30-38-94******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/guohao-25-30-38-94/labels/guohao-25-30-38-94_0069.txt'\n",
    "******Processing guoyafang-24-29-52-136******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：guoyafang-24-29-52-136_0030.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：guoyafang-24-29-52-136_0031.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/guoyafang-24-29-52-136/labels/guoyafang-24-29-52-136_0079.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/guoyafang-24-29-52-136/labels/guoyafang-24-29-52-136_0103.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/guoyafang-24-29-52-136/labels/guoyafang-24-29-52-136_0111.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/guoyafang-24-29-52-136/labels/guoyafang-24-29-52-136_0113.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/guoyafang-24-29-52-136/labels/guoyafang-24-29-52-136_0114.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/guoyafang-24-29-52-136/labels/guoyafang-24-29-52-136_0115.txt'\n",
    "******Processing guronghua-14-21-33-85******\n",
    "******Processing gusongqiao-17-24-32-80******\n",
    "******Processing hanshufang-28-35-53-137******\n",
    "******Processing hanweijie-19-25-37-90******\n",
    "******Processing hebaomin-28-37-54-145******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/hebaomin-28-37-54-145/labels/hebaomin-28-37-54-145_0122.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/hebaomin-28-37-54-145/labels/hebaomin-28-37-54-145_0125.txt'\n",
    "******Processing henglangye-15-20-25-83******\n",
    "******Processing hongxia-17-34-43-122******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/hongxia-17-34-43-122/labels/hongxia-17-34-43-122_0080.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/hongxia-17-34-43-122/labels/hongxia-17-34-43-122_0081.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/hongxia-17-34-43-122/labels/hongxia-17-34-43-122_0082.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/hongxia-17-34-43-122/labels/hongxia-17-34-43-122_0094.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/hongxia-17-34-43-122/labels/hongxia-17-34-43-122_0095.txt'\n",
    "******Processing huanghuaide-23-34-57-153******\n",
    "******Processing huangjiabao-22-27-33-53******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/huangjiabao-22-27-33-53/labels/huangjiabao-22-27-33-53_0037.txt'\n",
    "******Processing huangqingming-31-40-55-148******\n",
    "******Processing huangxuena-17-22-27-75******\n",
    "******Processing huangzhanzhang-25-33-46-134******\n",
    "******Processing huangzhaoxun-29-41-62-152******\n",
    "******Processing huaweiqin-15-25-33-77******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huaweiqin-15-25-33-77_0025.txt\n",
    "******Processing hujiangxiang-17-28-50-150******\n",
    "******Processing humingdong-18-22-29-85******\n",
    "******Processing huxiangxin-19-24-34-86******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/huxiangxin-19-24-34-86/labels/huxiangxin-19-24-34-86_0043.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/huxiangxin-19-24-34-86/labels/huxiangxin-19-24-34-86_0044.txt'\n",
    "******Processing huxianhua-32-41-55-143******\n",
    "******Processing huxuegen-29-38-57-136******\n",
    "******Processing huyongxian-18-25-38-88******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huyongxian-18-25-38-88_0033.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/huyongxian-18-25-38-88/labels/huyongxian-18-25-38-88_0064.txt'\n",
    "******Processing huyunhua-15-20-28-78******\n",
    "******Processing huzaoheng-16-23-34-67******\n",
    "******Processing huzhengjin-19-27-48-150******\n",
    "******Processing jiangchengsan-25-34-50-133******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：jiangchengsan-25-34-50-133_0045.txt\n",
    "******Processing jiangguanshui-16-21-31-85******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangguanshui-16-21-31-85/labels/jiangguanshui-16-21-31-85_0061.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangguanshui-16-21-31-85/labels/jiangguanshui-16-21-31-85_0062.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangguanshui-16-21-31-85/labels/jiangguanshui-16-21-31-85_0066.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangguanshui-16-21-31-85/labels/jiangguanshui-16-21-31-85_0067.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangguanshui-16-21-31-85/labels/jiangguanshui-16-21-31-85_0068.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangguanshui-16-21-31-85/labels/jiangguanshui-16-21-31-85_0071.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangguanshui-16-21-31-85/labels/jiangguanshui-16-21-31-85_0072.txt'\n",
    "******Processing jiangjianrong-16-21-31-82******\n",
    "******Processing jiangjiaqi-23-30-39-140******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0055.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0056.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0057.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0081.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0082.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0083.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0084.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0085.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0089.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0093.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0099.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0110.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0111.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0112.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0113.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0118.txt'\n",
    "******Processing jiangjinfeng-26-39-58-152******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jiangjinfeng-26-39-58-152/labels/jiangjinfeng-26-39-58-152_0124.txt'\n",
    "******Processing jiangkaishui-12-18-26-86******\n",
    "******Processing jiangxianghong-38-47-61-145******\n",
    "******Processing jiangxiangzhong-15-20-29-83******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.772461, 0.40625)出界：jiangxiangzhong-15-20-29-83_0060.txt\n",
    "******Processing jiangzhongshui-24-32-48-134******\n",
    "******Processing jiangzhuxian-10-16-24-75******\n",
    "******Processing jingchunya-12-17-25-82******\n",
    "******Processing jinjianrong-19-24-32-86******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jinjianrong-19-24-32-86/labels/jinjianrong-19-24-32-86_0048.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jinjianrong-19-24-32-86/labels/jinjianrong-19-24-32-86_0067.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jinjianrong-19-24-32-86/labels/jinjianrong-19-24-32-86_0069.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jinjianrong-19-24-32-86/labels/jinjianrong-19-24-32-86_0072.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jinjianrong-19-24-32-86/labels/jinjianrong-19-24-32-86_0073.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jinjianrong-19-24-32-86/labels/jinjianrong-19-24-32-86_0074.txt'\n",
    "******Processing jinlanhua-24-32-43-131******\n",
    "******Processing jinline-13-18-27-74******\n",
    "******Processing jinruiyue-13-18-28-80******\n",
    "******Processing jinshuigen-18-23-36-79******\n",
    "******Processing jinxianqing-15-23-37-81******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：jinxianqing-15-23-37-81_0025.txt\n",
    "******Processing jinyongfa-25-29-37-92******\n",
    "******Processing jinyu-19-29-44-146******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/jinyu-19-29-44-146/labels/jinyu-19-29-44-146_0089.txt'\n",
    "******Processing jinzhaoxiang-28-37-55-126******\n",
    "******Processing kerengang-25-30-41-91******\n",
    "******Processing kongfansheng-20-26-38-87******\n",
    "******Processing kongxiangang-24-28-38-97******\n",
    "******Processing kongxiangbao-32-43-70-143******\n",
    "******Processing kongxiangwen-12-18-32-86******\n",
    "******Processing kongxiuchun-41-52-75-140******\n",
    "******Processing laibaozhu-9-18-28-79******\n",
    "******Processing laijinhu-14-21-34-83******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：laijinhu-14-21-34-83_0022.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：laijinhu-14-21-34-83_0023.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：laijinhu-14-21-34-83_0024.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：laijinhu-14-21-34-83_0026.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：laijinhu-14-21-34-83_0027.txt\n",
    "******Processing liangmingfen-19-24-34-84******\n",
    "******Processing liaoxiuhua-36-44-55-144******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/liaoxiuhua-36-44-55-144/labels/liaoxiuhua-36-44-55-144_0069.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/liaoxiuhua-36-44-55-144/labels/liaoxiuhua-36-44-55-144_0096.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/liaoxiuhua-36-44-55-144/labels/liaoxiuhua-36-44-55-144_0101.txt'\n",
    "******Processing lidong-16-21-25-83******\n",
    "******Processing lihongmei-11-16-33-83******\n",
    "******Processing lijunhua-15-21-27-82******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/lijunhua-15-21-27-82/labels/lijunhua-15-21-27-82_0063.txt'\n",
    "******Processing lining-17-21-28-81******\n",
    "******Processing lintianye-18-28-46-136******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lintianye-18-28-46-136_0028.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lintianye-18-28-46-136_0031.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lintianye-18-28-46-136_0032.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lintianye-18-28-46-136_0034.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lintianye-18-28-46-136_0035.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lintianye-18-28-46-136_0036.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lintianye-18-28-46-136_0037.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lintianye-18-28-46-136_0038.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lintianye-18-28-46-136_0039.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lintianye-18-28-46-136_0040.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lintianye-18-28-46-136_0041.txt\n",
    "******Processing linyantian-22-32-54-146******\n",
    "******Processing linyaoqin-15-20-30-89******\n",
    "******Processing linyunfu-18-23-35-84******\n",
    "******Processing liqiang-17-22-27-83******\n",
    "******Processing lishengfu-19-25-37-95******\n",
    "******Processing lisucheng-22-26-36-89******\n",
    "******Processing liubaojian-23-31-49-143******\n",
    "******Processing liujun-8-15-27-95******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：liujun-8-15-27-95_0017.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：liujun-8-15-27-95_0018.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：liujun-8-15-27-95_0019.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：liujun-8-15-27-95_0020.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：liujun-8-15-27-95_0021.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/liujun-8-15-27-95/labels/liujun-8-15-27-95_0032.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/liujun-8-15-27-95/labels/liujun-8-15-27-95_0033.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/liujun-8-15-27-95/labels/liujun-8-15-27-95_0034.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/liujun-8-15-27-95/labels/liujun-8-15-27-95_0035.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/liujun-8-15-27-95/labels/liujun-8-15-27-95_0039.txt'\n",
    "******Processing liulixuan-16-22-27-87******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：liulixuan-16-22-27-87_0024.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/liulixuan-16-22-27-87/labels/liulixuan-16-22-27-87_0064.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/liulixuan-16-22-27-87/labels/liulixuan-16-22-27-87_0066.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/liulixuan-16-22-27-87/labels/liulixuan-16-22-27-87_0067.txt'\n",
    "******Processing liulunyong-26-35-49-155******\n",
    "******Processing liushurong-25-34-45-127******\n",
    "******Processing liutongkang-12-18-25-84******\n",
    "******Processing liuwangyang-19-24-32-87******\n",
    "******Processing liuweizhen-15-20-31-80******\n",
    "******Processing lixian-19-24-32-83******\n",
    "******Processing lixiaolang-17-21-30-83******\n",
    "******Processing lixinxi-16-23-33-86******\n",
    "******Processing lixiuhua-28-37-51-135******\n",
    "******Processing liyi-18-25-40-89******\n",
    "******Processing liyongjian-16-22-31-86******\n",
    "******Processing liyunbo-21-28-45-150******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/liyunbo-21-28-45-150/labels/liyunbo-21-28-45-150_0077.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/liyunbo-21-28-45-150/labels/liyunbo-21-28-45-150_0078.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/liyunbo-21-28-45-150/labels/liyunbo-21-28-45-150_0079.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/liyunbo-21-28-45-150/labels/liyunbo-21-28-45-150_0080.txt'\n",
    "******Processing louaizhen-15-21-30-80******\n",
    "******Processing louaizhen-16-21-31-81******\n",
    "******Processing louguiqin-19-28-50-150******\n",
    "******Processing luguilin-22-30-50-129******\n",
    "******Processing luguojing-27-36-47-141******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：luguojing-27-36-47-141_0036.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0037.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0037.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0038.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0038.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0039.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0039.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0040.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0040.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0041.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0041.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：luguojing-27-36-47-141_0042.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：luguojing-27-36-47-141_0043.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0056.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0060.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0061.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0062.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0065.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0066.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0068.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0069.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0070.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0073.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0075.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0076.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0082.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0083.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0084.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0086.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0087.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0088.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0089.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0090.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0091.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0092.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0093.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0094.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0095.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0096.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0102.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0103.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0104.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0112.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0113.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0114.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0115.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0116.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0117.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0120.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0121.txt'\n",
    "******Processing lujuquan-25-35-50-126******\n",
    "******Processing luoguangrong-23-32-51-129******\n",
    "******Processing luoguidi-21-32-51-140******\n",
    "******Processing luojinfeng-30-38-53-149******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luojinfeng-30-38-53-149/labels/luojinfeng-30-38-53-149_0108.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luojinfeng-30-38-53-149/labels/luojinfeng-30-38-53-149_0125.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/luojinfeng-30-38-53-149/labels/luojinfeng-30-38-53-149_0126.txt'\n",
    "******Processing luqiaoling-12-17-26-73******\n",
    "******Processing lushuyun-19-30-47-149******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/lushuyun-19-30-47-149/labels/lushuyun-19-30-47-149_0094.txt'\n",
    "******Processing luwenjun-20-30-44-141******\n",
    "******Processing luyuefeng-24-28-40-94******\n",
    "******Processing luzhiwei-19-25-36-88******\n",
    "******Processing lvbiqiang-34-42-63-143******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：lvbiqiang-34-42-63-143_0052.txt\n",
    "******Processing lvnanxian-17-23-32-84******\n",
    "******Processing lvyinhuan-34-43-58-151******\n",
    "******Processing lvyundi-29-36-45-131******\n",
    "******Processing maguojin-27-37-56-141******\n",
    "******Processing mahuiwu-10-14-23-84******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/mahuiwu-10-14-23-84/labels/mahuiwu-10-14-23-84_0049.txt'\n",
    "******Processing majiangen-17-22-34-87******\n",
    "******Processing majinmu-30-41-62-158******\n",
    "******Processing maomao-25-45-54-153******\n",
    "******Processing maoshuifa-30-40-60-144******\n",
    "******Processing maoshuijuan-12-17-23-80******\n",
    "******Processing maowenli-17-22-32-76******\n",
    "******Processing mawei-15-20-28-85******\n",
    "******Processing meipingan-36-45-60-137******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/meipingan-36-45-60-137/labels/meipingan-36-45-60-137_0106.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/meipingan-36-45-60-137/labels/meipingan-36-45-60-137_0107.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/meipingan-36-45-60-137/labels/meipingan-36-45-60-137_0108.txt'\n",
    "******Processing menghaixing-17-28-41-136******\n",
    "******Processing miaohefen-19-27-40-134******\n",
    "******Processing miaoxiaojun-35-46-65-146******\n",
    "******Processing muchunxian-15-21-31-81******\n",
    "******Processing nabuqi-13-18-26-79******\n",
    "******Processing nigengrong-20-26-39-89******\n",
    "******Processing ningdegen-28-38-61-140******\n",
    "******Processing ningjiangui-18-23-30-83******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/ningjiangui-18-23-30-83/labels/ningjiangui-18-23-30-83_0035.txt'\n",
    "******Processing nishengwei-30-44-64-152******\n",
    "******Processing nisixiang-11-17-25-81******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：nisixiang-11-17-25-81_0018.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：nisixiang-11-17-25-81_0021.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：nisixiang-11-17-25-81_0022.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/nisixiang-11-17-25-81/labels/nisixiang-11-17-25-81_0032.txt'\n",
    "******Processing panandan-16-21-31-81******\n",
    "******Processing panguangwen-16-21-32-92******\n",
    "******Processing panhongfu-37-48-75-151******\n",
    "******Processing panming-17-22-30-90******\n",
    "******Processing panxiuping-29-38-55-142******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/panxiuping-29-38-55-142/labels/panxiuping-29-38-55-142_0088.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/panxiuping-29-38-55-142/labels/panxiuping-29-38-55-142_0117.txt'\n",
    "******Processing panyuda-29-36-52-102******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/panyuda-29-36-52-102/labels/panyuda-29-36-52-102_0064.txt'\n",
    "******Processing pengguizhen-30-41-59-160******\n",
    "******Processing pengyufei-31-39-51-154******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：pengyufei-31-39-51-154_0041.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0042.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0042.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：pengyufei-31-39-51-154_0043.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：pengyufei-31-39-51-154_0045.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0072.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0081.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0086.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0088.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0089.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0090.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0091.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0092.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0093.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0094.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0106.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0107.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0108.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0109.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0110.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0112.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0122.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0123.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0124.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0125.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0126.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0129.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0130.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0131.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0132.txt'\n",
    "******Processing puguanghui-12-18-25-74******\n",
    "******Processing qiananv-18-23-33-76******\n",
    "******Processing qianliujiu-9-15-24-75******\n",
    "******Processing qiuguozhang-27-36-52-136******\n",
    "******Processing qiujinrong-24-34-58-158******\n",
    "******Processing qiumeijun-28-36-52-133******\n",
    "******Processing qiuwei-31-39-53-138******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：qiuwei-31-39-53-138_0045.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/qiuwei-31-39-53-138/labels/qiuwei-31-39-53-138_0067.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/qiuwei-31-39-53-138/labels/qiuwei-31-39-53-138_0069.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/qiuwei-31-39-53-138/labels/qiuwei-31-39-53-138_0103.txt'\n",
    "******Processing qizhikun-29-37-57-130******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/qizhikun-29-37-57-130/labels/qizhikun-29-37-57-130_0099.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/qizhikun-29-37-57-130/labels/qizhikun-29-37-57-130_0109.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/qizhikun-29-37-57-130/labels/qizhikun-29-37-57-130_0110.txt'\n",
    "******Processing quanjianzhong-24-36-51-138******\n",
    "******Processing qubo-14-19-29-82******\n",
    "******Processing renjiali-34-42-52-138******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/renjiali-34-42-52-138/labels/renjiali-34-42-52-138_0064.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/renjiali-34-42-52-138/labels/renjiali-34-42-52-138_0091.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/renjiali-34-42-52-138/labels/renjiali-34-42-52-138_0092.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/renjiali-34-42-52-138/labels/renjiali-34-42-52-138_0093.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/renjiali-34-42-52-138/labels/renjiali-34-42-52-138_0114.txt'\n",
    "******Processing renlaifa-19-30-53-153******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/renlaifa-19-30-53-153/labels/renlaifa-19-30-53-153_0118.txt'\n",
    "******Processing renxiuyuan-18-23-31-79******\n",
    "******Processing shanziliang-13-19-30-90******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.242188, 0.438477)出界：shanziliang-13-19-30-90_0061.txt\n",
    "******Processing shanzixian-30-39-59-153******\n",
    "******Processing shaobingsheng-13-19-27-80******\n",
    "******Processing shaochuanlai-16-22-36-83******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/shaochuanlai-16-22-36-83/labels/shaochuanlai-16-22-36-83_0071.txt'\n",
    "******Processing shaofeng-23-29-37-95******\n",
    "******Processing shaominjun-18-24-35-85******\n",
    "******Processing shenfabiao-29-39-61-135******\n",
    "******Processing shenguilin-18-25-35-53******\n",
    "******Processing shenhaiqin-20-28-38-129******\n",
    "******Processing shenhuinian-21-27-39-89******\n",
    "******Processing shenshuigen-30-41-56-140******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/shenshuigen-30-41-56-140/labels/shenshuigen-30-41-56-140_0106.txt'\n",
    "******Processing shensongping-10-21-38-142******\n",
    "******Processing shenxingen-29-40-60-150******\n",
    "******Processing shenxuemei-15-21-28-79******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/shenxuemei-15-21-28-79/labels/shenxuemei-15-21-28-79_0059.txt'\n",
    "******Processing shenxuhong-20-24-34-82******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/shenxuhong-20-24-34-82/labels/shenxuhong-20-24-34-82_0063.txt'\n",
    "******Processing shenyaping-30-40-57-139******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/shenyaping-30-40-57-139/labels/shenyaping-30-40-57-139_0094.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/shenyaping-30-40-57-139/labels/shenyaping-30-40-57-139_0117.txt'\n",
    "******Processing shenyuzhen-11-16-25-77******\n",
    "******Processing shenzhongmin-36-47-68-140******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/shenzhongmin-36-47-68-140/labels/shenzhongmin-36-47-68-140_0093.txt'\n",
    "******Processing shenziming-17-24-34-84******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/shenziming-17-24-34-84/labels/shenziming-17-24-34-84_0066.txt'\n",
    "******Processing shiburen-15-20-29-91******\n",
    "******Processing shizhifu-37-47-58-147******\n",
    "******Processing songzongwei-20-26-39-94******\n",
    "******Processing sundelin-15-21-31-90******\n",
    "******Processing sunlutao-14-23-70-127******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0036.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0037.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0038.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0039.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0040.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0041.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0042.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0043.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0044.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0045.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0046.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0047.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0048.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0049.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0050.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0051.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0052.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0053.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0054.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0055.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0056.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0057.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0058.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0059.txt\n",
    "******Processing sunyunxian-11-17-23-75******\n",
    "******Processing tangchunhua-10-16-20-76******\n",
    "******Processing tangshuiming-33-44-68-153******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/tangshuiming-33-44-68-153/labels/tangshuiming-33-44-68-153_0115.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/tangshuiming-33-44-68-153/labels/tangshuiming-33-44-68-153_0117.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/tangshuiming-33-44-68-153/labels/tangshuiming-33-44-68-153_0124.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/tangshuiming-33-44-68-153/labels/tangshuiming-33-44-68-153_0126.txt'\n",
    "******Processing taofeng-18-22-28-81******\n",
    "******Processing taonan-19-24-37-87******\n",
    "******Processing taoquanying-13-18-30-83******\n",
    "******Processing taowenming-23-32-59-138******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：taowenming-23-32-59-138_0034.txt\n",
    "******Processing tongbo-25-35-51-153******\n",
    "******Processing tongchichang-16-21-35-88******\n",
    "******Processing tongxijie-33-42-61-178******\n",
    "******Processing tongyanwen-22-27-41-89******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：tongyanwen-22-27-41-89_0027.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：tongyanwen-22-27-41-89_0028.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：tongyanwen-22-27-41-89_0029.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：tongyanwen-22-27-41-89_0030.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：tongyanwen-22-27-41-89_0031.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：tongyanwen-22-27-41-89_0032.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：tongyanwen-22-27-41-89_0035.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/tongyanwen-22-27-41-89/labels/tongyanwen-22-27-41-89_0047.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/tongyanwen-22-27-41-89/labels/tongyanwen-22-27-41-89_0051.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/tongyanwen-22-27-41-89/labels/tongyanwen-22-27-41-89_0074.txt'\n",
    "******Processing wangaifang-13-19-28-74******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangaifang-13-19-28-74/labels/wangaifang-13-19-28-74_0063.txt'\n",
    "******Processing wangbaoyu-7-12-21-75******\n",
    "******Processing wangbingdao-26-36-55-132******\n",
    "******Processing wangdahua-19-24-33-89******\n",
    "******Processing wangdandan-32-39-50-142******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wangdandan-32-39-50-142_0039.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wangdandan-32-39-50-142_0040.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangdandan-32-39-50-142/labels/wangdandan-32-39-50-142_0045.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangdandan-32-39-50-142/labels/wangdandan-32-39-50-142_0045.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangdandan-32-39-50-142/labels/wangdandan-32-39-50-142_0046.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangdandan-32-39-50-142/labels/wangdandan-32-39-50-142_0046.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangdandan-32-39-50-142/labels/wangdandan-32-39-50-142_0065.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangdandan-32-39-50-142/labels/wangdandan-32-39-50-142_0066.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangdandan-32-39-50-142/labels/wangdandan-32-39-50-142_0067.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangdandan-32-39-50-142/labels/wangdandan-32-39-50-142_0077.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangdandan-32-39-50-142/labels/wangdandan-32-39-50-142_0080.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangdandan-32-39-50-142/labels/wangdandan-32-39-50-142_0081.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangdandan-32-39-50-142/labels/wangdandan-32-39-50-142_0087.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangdandan-32-39-50-142/labels/wangdandan-32-39-50-142_0088.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangdandan-32-39-50-142/labels/wangdandan-32-39-50-142_0089.txt'\n",
    "******Processing wangdayang-3-14-41-137******\n",
    "******Processing wangdehao-40-51-65-159******\n",
    "******Processing wangdeqian-26-38-60-156******\n",
    "******Processing wangfeng-14-19-31-85******\n",
    "******Processing wangguojian-20-25-39-86******\n",
    "******Processing wangguolong-16-21-33-84******\n",
    "******Processing wanghongchao-33-42-69-153******\n",
    "******Processing wanghongchu-23-35-67-142******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wanghongchu-23-35-67-142/labels/wanghongchu-23-35-67-142_0121.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wanghongchu-23-35-67-142/labels/wanghongchu-23-35-67-142_0122.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wanghongchu-23-35-67-142/labels/wanghongchu-23-35-67-142_0123.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wanghongchu-23-35-67-142/labels/wanghongchu-23-35-67-142_0124.txt'\n",
    "******Processing wangjiajin-35-46-69-148******\n",
    "******Processing wangjian-17-24-32-88******\n",
    "******Processing wangjinlie-26-33-45-87******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangjinlie-26-33-45-87/labels/wangjinlie-26-33-45-87_0067.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangjinlie-26-33-45-87/labels/wangjinlie-26-33-45-87_0076.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangjinlie-26-33-45-87/labels/wangjinlie-26-33-45-87_0077.txt'\n",
    "******Processing wangkehuai-47-57-80-157******\n",
    "******Processing wangligang-25-36-55-154******\n",
    "******Processing wangluhua-18-23-32-87******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangluhua-18-23-32-87/labels/wangluhua-18-23-32-87_0048.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangluhua-18-23-32-87/labels/wangluhua-18-23-32-87_0049.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangluhua-18-23-32-87/labels/wangluhua-18-23-32-87_0050.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangluhua-18-23-32-87/labels/wangluhua-18-23-32-87_0051.txt'\n",
    "******Processing wangmingxuan-35-45-67-157******\n",
    "******Processing wangronglin-16-21-28-81******\n",
    "******Processing wangshuilin-23-35-53-134******\n",
    "******Processing wangsonglin-19-24-27-86******\n",
    "******Processing wangwei-32-39-50-139******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangwei-32-39-50-139/labels/wangwei-32-39-50-139_0075.txt'\n",
    "******Processing wangwuzhuang-28-33-41-98******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangwuzhuang-28-33-41-98/labels/wangwuzhuang-28-33-41-98_0076.txt'\n",
    "******Processing wangxinhui-18-23-31-85******\n",
    "******Processing wangyeping-25-33-49-129******\n",
    "******Processing wangyunxian-18-27-39-134******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangyunxian-18-27-39-134/labels/wangyunxian-18-27-39-134_0073.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wangyunxian-18-27-39-134/labels/wangyunxian-18-27-39-134_0105.txt'\n",
    "******Processing wangyuzhi-29-38-55-156******\n",
    "******Processing weiliping-14-19-29-82******\n",
    "******Processing weizhilin-19-24-34-87******\n",
    "******Processing wenshuinong-24-33-55-141******\n",
    "******Processing wufenai-9-15-28-81******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0015.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wufenai-9-15-28-81/labels/wufenai-9-15-28-81_0016.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wufenai-9-15-28-81/labels/wufenai-9-15-28-81_0016.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wufenai-9-15-28-81/labels/wufenai-9-15-28-81_0017.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wufenai-9-15-28-81/labels/wufenai-9-15-28-81_0017.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0018.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0019.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0020.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0021.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0022.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0023.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0024.txt\n",
    "******Processing wugaoyou-12-17-24-81******\n",
    "******Processing wugenbao-11-17-28-79******\n",
    "******Processing wuguorong-30-39-51-140******\n",
    "******Processing wujianguo-14-20-29-89******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wujianguo-14-20-29-89_0020.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wujianguo-14-20-29-89_0021.txt\n",
    "******Processing wumingshi2021040501-17-22-30-81******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wumingshi2021040501-17-22-30-81/labels/wumingshi2021040501-17-22-30-81_0059.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wumingshi2021040501-17-22-30-81/labels/wumingshi2021040501-17-22-30-81_0067.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wumingshi2021040501-17-22-30-81/labels/wumingshi2021040501-17-22-30-81_0069.txt'\n",
    "******Processing wusunqing-18-23-35-80******\n",
    "******Processing wutianshun-12-17-26-80******\n",
    "******Processing wuyunfang-20-25-34-85******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/wuyunfang-20-25-34-85/labels/wuyunfang-20-25-34-85_0068.txt'\n",
    "******Processing wuzhongqiu-27-38-58-147******\n",
    "******Processing wuzili-13-19-28-72******\n",
    "******Processing xiajinying-22-32-46-134******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：xiajinying-22-32-46-134_0034.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：xiajinying-22-32-46-134_0040.txt\n",
    "******Processing xiangzhaochong-15-20-31-78******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xiangzhaochong-15-20-31-78/labels/xiangzhaochong-15-20-31-78_0063.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xiangzhaochong-15-20-31-78/labels/xiangzhaochong-15-20-31-78_0064.txt'\n",
    "******Processing xiaxianlin-5-9-15-71******\n",
    "******Processing xiaxinghua-17-22-33-89******\n",
    "******Processing xiegenjun-21-26-34-93******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xiegenjun-21-26-34-93/labels/xiegenjun-21-26-34-93_0043.txt'\n",
    "******Processing xiejun-18-27-43-122******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xiejun-18-27-43-122/labels/xiejun-18-27-43-122_0094.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xiejun-18-27-43-122/labels/xiejun-18-27-43-122_0095.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xiejun-18-27-43-122/labels/xiejun-18-27-43-122_0098.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xiejun-18-27-43-122/labels/xiejun-18-27-43-122_0101.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xiejun-18-27-43-122/labels/xiejun-18-27-43-122_0102.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xiejun-18-27-43-122/labels/xiejun-18-27-43-122_0103.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xiejun-18-27-43-122/labels/xiejun-18-27-43-122_0104.txt'\n",
    "******Processing xiemeiying-21-29-41-127******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xiemeiying-21-29-41-127/labels/xiemeiying-21-29-41-127_0093.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xiemeiying-21-29-41-127/labels/xiemeiying-21-29-41-127_0094.txt'\n",
    "******Processing xieshangyong-14-20-27-87******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xieshangyong-14-20-27-87/labels/xieshangyong-14-20-27-87_0040.txt'\n",
    "******Processing xiezhaoqin-17-21-29-81******\n",
    "******Processing xinyongsheng-13-18-26-86******\n",
    "******Processing xucaifeng-20-26-43-83******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xucaifeng-20-26-43-83/labels/xucaifeng-20-26-43-83_0053.txt'\n",
    "******Processing xucaizhen-27-37-51-131******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：xucaizhen-27-37-51-131_0040.txt\n",
    "******Processing xudingguo-21-25-38-89******\n",
    "******Processing xuguangtai-16-21-36-91******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xuguangtai-16-21-36-91/labels/xuguangtai-16-21-36-91_0066.txt'\n",
    "******Processing xuke-19-30-48-144******\n",
    "******Processing xushengwu-31-41-60-150******\n",
    "******Processing xuwenxiang-19-25-38-91******\n",
    "******Processing xuxuee-11-16-24-81******\n",
    "******Processing xuxuee-22-30-45-123******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xuxuee-22-30-45-123/labels/xuxuee-22-30-45-123_0104.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xuxuee-22-30-45-123/labels/xuxuee-22-30-45-123_0105.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/xuxuee-22-30-45-123/labels/xuxuee-22-30-45-123_0106.txt'\n",
    "******Processing xuyizhen-22-32-47-149******\n",
    "******Processing yananfen-29-39-56-146******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yananfen-29-39-56-146/labels/yananfen-29-39-56-146_0121.txt'\n",
    "******Processing yanchunhong-36-45-64-155******\n",
    "******Processing yangqingyue-31-39-50-128******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yangqingyue-31-39-50-128/labels/yangqingyue-31-39-50-128_0096.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yangqingyue-31-39-50-128/labels/yangqingyue-31-39-50-128_0099.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yangqingyue-31-39-50-128/labels/yangqingyue-31-39-50-128_0101.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yangqingyue-31-39-50-128/labels/yangqingyue-31-39-50-128_0102.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yangqingyue-31-39-50-128/labels/yangqingyue-31-39-50-128_0103.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yangqingyue-31-39-50-128/labels/yangqingyue-31-39-50-128_0104.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yangqingyue-31-39-50-128/labels/yangqingyue-31-39-50-128_0105.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yangqingyue-31-39-50-128/labels/yangqingyue-31-39-50-128_0106.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yangqingyue-31-39-50-128/labels/yangqingyue-31-39-50-128_0107.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yangqingyue-31-39-50-128/labels/yangqingyue-31-39-50-128_0108.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yangqingyue-31-39-50-128/labels/yangqingyue-31-39-50-128_0110.txt'\n",
    "******Processing yangxiaohui-20-28-39-125******\n",
    "******Processing yangyuqi-34-44-60-157******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yangyuqi-34-44-60-157/labels/yangyuqi-34-44-60-157_0126.txt'\n",
    "******Processing yangzengrong-28-40-58-161******\n",
    "******Processing yangzhengfu-18-22-32-75******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yangzhengfu-18-22-32-75/labels/yangzhengfu-18-22-32-75_0060.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yangzhengfu-18-22-32-75/labels/yangzhengfu-18-22-32-75_0062.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yangzhengfu-18-22-32-75/labels/yangzhengfu-18-22-32-75_0064.txt'\n",
    "******Processing yangzhengqian-16-21-26-78******\n",
    "******Processing yaoae-31-41-60-135******\n",
    "******Processing yaohuiping-16-21-29-79******\n",
    "******Processing yaojingen-20-25-31-81******\n",
    "******Processing yegenxiang-11-17-30-80******\n",
    "******Processing yepusheng-13-18-27-79******\n",
    "******Processing yeronghua-21-32-49-149******\n",
    "******Processing yeshanhui-33-43-55-143******\n",
    "******Processing yeweigen-17-21-29-84******\n",
    "******Processing yeyunhai-26-36-54-152******\n",
    "******Processing yimuyun-15-19-28-75******\n",
    "******Processing yiqiang-16-21-30-78******\n",
    "******Processing yuaiyuan-13-18-29-84******\n",
    "******Processing yuanashui-27-38-57-141******\n",
    "******Processing yuanjuhe-11-16-27-76******\n",
    "******Processing yuankunfa-27-33-44-89******\n",
    "******Processing yuanyongjin-12-18-27-81******\n",
    "******Processing yuanzhangqing-20-26-37-90******\n",
    "******Processing yuguangyang-18-23-33-90******\n",
    "******Processing yujianshun-14-20-33-73******\n",
    "******Processing yujixin-32-41-62-143******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yujixin-32-41-62-143/labels/yujixin-32-41-62-143_0125.txt'\n",
    "******Processing yukang-17-22-27-82******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yukang-17-22-27-82/labels/yukang-17-22-27-82_0061.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yukang-17-22-27-82/labels/yukang-17-22-27-82_0062.txt'\n",
    "******Processing yukang-27-36-46-135******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yukang-27-36-46-135/labels/yukang-27-36-46-135_0104.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yukang-27-36-46-135/labels/yukang-27-36-46-135_0105.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yukang-27-36-46-135/labels/yukang-27-36-46-135_0106.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yukang-27-36-46-135/labels/yukang-27-36-46-135_0109.txt'\n",
    "******Processing yumengting-19-26-36-123******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yumengting-19-26-36-123/labels/yumengting-19-26-36-123_0070.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yumengting-19-26-36-123/labels/yumengting-19-26-36-123_0071.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yumengting-19-26-36-123/labels/yumengting-19-26-36-123_0087.txt'\n",
    "******Processing yupengjie-26-34-46-134******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yupengjie-26-34-46-134/labels/yupengjie-26-34-46-134_0082.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yupengjie-26-34-46-134/labels/yupengjie-26-34-46-134_0083.txt'\n",
    "******Processing yushengfu-31-40-56-154******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yushengfu-31-40-56-154/labels/yushengfu-31-40-56-154_0098.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yushengfu-31-40-56-154/labels/yushengfu-31-40-56-154_0108.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yushengfu-31-40-56-154/labels/yushengfu-31-40-56-154_0109.txt'\n",
    "******Processing yuweiliang-29-35-47-104******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yuweiliang-29-35-47-104/labels/yuweiliang-29-35-47-104_0073.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yuweiliang-29-35-47-104/labels/yuweiliang-29-35-47-104_0074.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yuweiliang-29-35-47-104/labels/yuweiliang-29-35-47-104_0075.txt'\n",
    "******Processing yuxiaotu-20-25-36-90******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/yuxiaotu-20-25-36-90/labels/yuxiaotu-20-25-36-90_0078.txt'\n",
    "******Processing zengchunsheng-23-30-41-128******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zengchunsheng-23-30-41-128/labels/zengchunsheng-23-30-41-128_0061.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zengchunsheng-23-30-41-128/labels/zengchunsheng-23-30-41-128_0062.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zengchunsheng-23-30-41-128/labels/zengchunsheng-23-30-41-128_0080.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zengchunsheng-23-30-41-128/labels/zengchunsheng-23-30-41-128_0081.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zengchunsheng-23-30-41-128/labels/zengchunsheng-23-30-41-128_0082.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zengchunsheng-23-30-41-128/labels/zengchunsheng-23-30-41-128_0084.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zengchunsheng-23-30-41-128/labels/zengchunsheng-23-30-41-128_0085.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zengchunsheng-23-30-41-128/labels/zengchunsheng-23-30-41-128_0086.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zengchunsheng-23-30-41-128/labels/zengchunsheng-23-30-41-128_0088.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zengchunsheng-23-30-41-128/labels/zengchunsheng-23-30-41-128_0100.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zengchunsheng-23-30-41-128/labels/zengchunsheng-23-30-41-128_0101.txt'\n",
    "******Processing zhangbaoyou-29-40-60-148******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhangbaoyou-29-40-60-148/labels/zhangbaoyou-29-40-60-148_0121.txt'\n",
    "******Processing zhangchao-13-18-29-81******\n",
    "******Processing zhangdanye-31-38-50-143******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhangdanye-31-38-50-143/labels/zhangdanye-31-38-50-143_0092.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhangdanye-31-38-50-143/labels/zhangdanye-31-38-50-143_0102.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhangdanye-31-38-50-143/labels/zhangdanye-31-38-50-143_0103.txt'\n",
    "******Processing zhangduofeng-12-17-28-55******\n",
    "******Processing zhangfagen-22-27-37-92******\n",
    "******Processing zhangguofeng-21-27-35-90******\n",
    "******Processing zhanghanmin-13-19-27-76******\n",
    "******Processing zhanghuanquan-17-22-29-75******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhanghuanquan-17-22-29-75/labels/zhanghuanquan-17-22-29-75_0064.txt'\n",
    "******Processing zhanglanxian-19-28-48-129******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhanglanxian-19-28-48-129_0035.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhanglanxian-19-28-48-129/labels/zhanglanxian-19-28-48-129_0111.txt'\n",
    "******Processing zhanglugen-26-31-40-96******\n",
    "******Processing zhangmeijuan-11-17-27-84******\n",
    "******Processing zhangmingfa-22-27-37-93******\n",
    "******Processing zhangqingrong-32-43-73-161******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhangqingrong-32-43-73-161/labels/zhangqingrong-32-43-73-161_0136.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhangqingrong-32-43-73-161/labels/zhangqingrong-32-43-73-161_0137.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhangqingrong-32-43-73-161/labels/zhangqingrong-32-43-73-161_0138.txt'\n",
    "******Processing zhangshaohong-13-19-32-83******\n",
    "******Processing zhangxianjun-16-23-31-82******\n",
    "******Processing zhangyao-17-22-29-83******\n",
    "******Processing zhangyulin-20-25-40-93******\n",
    "******Processing zhaofuchang-16-21-30-80******\n",
    "******Processing zhaoshunshou-30-38-53-139******\n",
    "******Processing zhaoyouyang-24-34-41-125******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhaoyouyang-24-34-41-125/labels/zhaoyouyang-24-34-41-125_0107.txt'\n",
    "******Processing zhaozhongqi-16-21-30-80******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhaozhongqi-16-21-30-80/labels/zhaozhongqi-16-21-30-80_0065.txt'\n",
    "******Processing zhengaizhu-22-34-66-149******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhengaizhu-22-34-66-149_0040.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhengaizhu-22-34-66-149_0041.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhengaizhu-22-34-66-149_0042.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhengaizhu-22-34-66-149/labels/zhengaizhu-22-34-66-149_0077.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhengaizhu-22-34-66-149/labels/zhengaizhu-22-34-66-149_0078.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhengaizhu-22-34-66-149/labels/zhengaizhu-22-34-66-149_0087.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.754883, 0.617188)出界：zhengaizhu-22-34-66-149_0093.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhengaizhu-22-34-66-149/labels/zhengaizhu-22-34-66-149_0117.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhengaizhu-22-34-66-149/labels/zhengaizhu-22-34-66-149_0119.txt'\n",
    "******Processing zhengguanhan-17-23-34-79******\n",
    "******Processing zhengjilang-23-33-49-135******\n",
    "******Processing zhengronghua-21-30-44-127******\n",
    "******Processing zhengwanhua-29-40-59-156******\n",
    "******Processing zhengwenyan-15-20-29-82******\n",
    "******Processing zhengyingu-14-18-26-76******\n",
    "******Processing zhengzaidi-22-34-51-153******\n",
    "******Processing zhensuzhen-20-25-34-90******\n",
    "******Processing zhongxiaoxiang-30-40-53-139******\n",
    "******Processing zhougensheng-32-44-60-141******\n",
    "******Processing zhouguoming-20-25-30-82******\n",
    "******Processing zhouhongqiong-31-42-54-147******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhouhongqiong-31-42-54-147_0042.txt\n",
    "******Processing zhoujun-12-16-24-77******\n",
    "******Processing zhoujuqin-23-37-63-155******\n",
    "******Processing zhoulijun-18-23-35-93******\n",
    "******Processing zhoutucai-35-44-66-158******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhoutucai-35-44-66-158/labels/zhoutucai-35-44-66-158_0092.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhoutucai-35-44-66-158/labels/zhoutucai-35-44-66-158_0093.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhoutucai-35-44-66-158/labels/zhoutucai-35-44-66-158_0094.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhoutucai-35-44-66-158/labels/zhoutucai-35-44-66-158_0095.txt'\n",
    "******Processing zhouwenming-40-48-67-147******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhouwenming-40-48-67-147_0062.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhouwenming-40-48-67-147/labels/zhouwenming-40-48-67-147_0087.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 66, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhouwenming-40-48-67-147/labels/zhouwenming-40-48-67-147_0088.txt'\n",
    "******Processing zhouxianhang-13-17-26-78******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhouxianhang-13-17-26-78/labels/zhouxianhang-13-17-26-78_0016.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 52, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative_2/zhouxianhang-13-17-26-78/labels/zhouxianhang-13-17-26-78_0016.txt'\n",
    "******Processing zhouxincang-31-42-59-139******\n",
    "******Processing zhouyixiao-22-28-40-83******\n",
    "******Processing zhouyongyan-21-33-51-136******\n",
    "******Processing zhouzhangnv-12-18-31-80******\n",
    "Traceback (most recent call last):\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 43, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"<ipython-input-37-508357bc551f>\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhouzhangnv-12-18-31-80_0027.txt\n",
    "******Processing zhucaiqin-20-31-50-124******\n",
    "******Processing zhuguizhou-18-23-34-85******\n",
    "******Processing zhuguofang-15-20-32-85******\n",
    "******Processing zhujianfu-16-22-28-87******\n",
    "******Processing zhujianfu-30-42-62-154******\n",
    "******Processing zhukuanwen-15-21-29-83******\n",
    "******Processing zhuodepeng-9-14-23-78******\n",
    "******Processing zhuxingfu-14-19-32-82******\n",
    "******Processing zhuyanjie-20-25-35-89******"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "fc38ac3e",
   "metadata": {},
   "outputs": [],
   "source": [
    "去重后的阴性：\n",
    "41\n",
    "['bianzhaorong-17-22-38-92', 'caijinfei-34-42-51-155', 'caijingnan1-41-50-73-184', 'chengzhiqiang-33-41-67-159', 'chenjingjing-38-47-67-184', 'chenliuer-23-32-43-140', 'chenyanli-20-23-34-80', 'dingbinghai-20-24-45-95', 'fangzhengyi-26-37-53-153', 'fengaiyuan-26-32-46-121', 'huangguixian-24-28-45-101', 'huangjuzhen-13-17-29-77', 'jiangjiaqi-23-30-39-140', 'laijinhu-14-21-34-83', 'loucaidi-26-35-63-154', 'luguojing-27-36-47-141', 'lujuquan-25-35-50-126', 'mahuiwu-10-14-23-84', 'panxiangyang-45-53-97-196', 'pengyufei-31-39-51-154', 'sunlutao-14-23-70-127', 'taoxiuwei-26-34-54-137', 'wangahai-16-22-43-91', 'wangdandan-32-39-50-142', 'wanghaifang-40-47-83-160', 'wangjinlie-26-33-45-87', 'wangyouxiang-21-27-41-131', 'wangyouxin-34-42-64-160', 'wenshuijuan-30-36-66-145', 'wufenai-9-15-28-81', 'wuruqing-49-60-96-153', 'wuzongtang-29-36-76-141', 'yangqingyue-31-39-50-128', 'yuanxiazhen-14-18-36-76', 'yukang-17-22-27-82', 'yukang-27-36-46-135', 'yuweiliang-29-35-47-104', 'zengchunsheng-23-30-41-128', 'zhangyitian-26-32-55-148', 'zhoushan-17-20-39-78', 'zhouxinya-24-30-40-120']\n",
    "\n",
    "\n",
    "******Processing baimeizhu-27-37-54-136******\n",
    "******Processing baixiaoxu-22-31-52-147******\n",
    "******Processing baojinjia-17-21-35-83******\n",
    "******Processing baoxialin-23-34-57-158******\n",
    "******Processing baoyanzu-15-20-31-87******\n",
    "******Processing baoyanzu-21-25-42-93******\n",
    "******Processing bianyinqiao-31-38-59-137******\n",
    "******Processing bianzhaorong-17-22-38-92******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：bianzhaorong-17-22-38-92_0023.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：bianzhaorong-17-22-38-92_0031.txt\n",
    "******Processing caijinfei-34-42-51-155******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijinfei-34-42-51-155/labels/caijinfei-34-42-51-155_0115.txt'\n",
    "******Processing caijingnan1-41-50-73-184******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0137.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0144.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/caijingnan1-41-50-73-184/labels/caijingnan1-41-50-73-184_0146.txt'\n",
    "******Processing caiqishu-34-43-70-176******\n",
    "******Processing caishiping-18-24-34-85******\n",
    "******Processing caiyouzhe-14-18-32-83******\n",
    "******Processing caoyuxia-16-21-35-87******\n",
    "******Processing caoyuying-18-22-33-79******\n",
    "******Processing chenbin-20-26-35-85******\n",
    "******Processing chenchong-22-26-36-86******\n",
    "******Processing chendonghong-12-17-27-75******\n",
    "******Processing chenfugui-36-46-76-149******\n",
    "******Processing chengenye-13-18-28-79******\n",
    "******Processing chengshaoping-19-28-45-132******\n",
    "******Processing chengyahui-17-22-29-82******\n",
    "******Processing chengzhiqiang-33-41-67-159******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：chengzhiqiang-33-41-67-159_0057.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：chengzhiqiang-33-41-67-159_0058.txt\n",
    "******Processing chenjian-26-30-44-89******\n",
    "******Processing chenjianhua-14-17-32-80******\n",
    "******Processing chenjianjun-25-34-65-175******\n",
    "******Processing chenjianping-15-22-41-91******\n",
    "******Processing chenjingjing-38-47-67-184******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：chenjingjing-38-47-67-184_0061.txt\n",
    "******Processing chenjinmei-12-17-34-80******\n",
    "******Processing chenjunbing-22-29-34-89******\n",
    "******Processing chenlidong-18-23-32-88******\n",
    "******Processing chenlindi-16-22-34-78******\n",
    "******Processing chenliuer-23-32-43-140******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0087.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0088.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0093.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0094.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0095.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0096.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0097.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0098.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0099.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0100.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0104.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0105.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0106.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenliuer-23-32-43-140/labels/chenliuer-23-32-43-140_0107.txt'\n",
    "******Processing chenmaojin-14-20-31-90******\n",
    "******Processing chenpanyang-21-31-71-161******\n",
    "******Processing chenqiuying-13-17-30-78******\n",
    "******Processing chenruohui-22-30-41-133******\n",
    "******Processing chensaimu-34-44-78-166******\n",
    "******Processing chenshigen-19-25-34-83******\n",
    "******Processing chenweiqian-22-31-45-131******\n",
    "******Processing chenxiufen-17-21-34-82******\n",
    "******Processing chenyanli-20-23-34-80******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenyanli-20-23-34-80/labels/chenyanli-20-23-34-80_0066.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenyanli-20-23-34-80/labels/chenyanli-20-23-34-80_0067.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/chenyanli-20-23-34-80/labels/chenyanli-20-23-34-80_0069.txt'\n",
    "******Processing chenyilin-21-26-36-86******\n",
    "******Processing chenyinfen-18-22-38-81******\n",
    "******Processing chenyonghu-24-32-48-141******\n",
    "******Processing cheshengying-25-34-64-139******\n",
    "******Processing daicaihu-22-27-34-85******\n",
    "******Processing daijiandong-28-39-50-160******\n",
    "******Processing daixiaofeng-27-38-56-141******\n",
    "******Processing dengdeyu-18-27-43-152******\n",
    "******Processing denghuibin-15-19-35-84******\n",
    "******Processing dingbinghai-20-24-45-95******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/dingbinghai-20-24-45-95/labels/dingbinghai-20-24-45-95_0074.txt'\n",
    "******Processing dingshuigen-28-38-53-136******\n",
    "******Processing dongxingzhen-9-13-23-77******\n",
    "******Processing dongyonghong-14-19-34-85******\n",
    "******Processing dujinlian-17-20-36-82******\n",
    "******Processing duyangchun-16-22-31-90******\n",
    "******Processing fangchengfu-26-39-76-182******\n",
    "******Processing fangjinchai-19-23-31-81******\n",
    "******Processing fangrurong-16-25-55-132******\n",
    "******Processing fangyungen-14-18-34-75******\n",
    "******Processing fangzhengyi-26-37-53-153******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.776367, 0.705078)出界：fangzhengyi-26-37-53-153_0123.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.776367, 0.704102)出界：fangzhengyi-26-37-53-153_0124.txt\n",
    "******Processing fangzijian-19-30-50-153******\n",
    "******Processing fanshiming-15-20-30-83******\n",
    "******Processing fanxinghua-41-48-69-144******\n",
    "******Processing fengaiyuan-26-32-46-121******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/fengaiyuan-26-32-46-121/labels/fengaiyuan-26-32-46-121_0099.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/fengaiyuan-26-32-46-121/labels/fengaiyuan-26-32-46-121_0100.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/fengaiyuan-26-32-46-121/labels/fengaiyuan-26-32-46-121_0101.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/fengaiyuan-26-32-46-121/labels/fengaiyuan-26-32-46-121_0102.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/fengaiyuan-26-32-46-121/labels/fengaiyuan-26-32-46-121_0104.txt'\n",
    "******Processing fengdayan-30-38-69-146******\n",
    "******Processing fengqiufen-14-19-27-75******\n",
    "******Processing fubaohua-30-41-62-149******\n",
    "******Processing fudianqin-15-19-33-78******\n",
    "******Processing fudiyang-22-30-46-128******\n",
    "******Processing fuhongliang-14-22-33-154******\n",
    "******Processing fujingjing-24-32-39-127******\n",
    "******Processing gaoanhui-17-22-31-85******\n",
    "******Processing gaoqigen-36-45-63-148******\n",
    "******Processing gaowenfu-16-26-50-141******\n",
    "******Processing gaozhaocheng-19-26-42-90******\n",
    "******Processing gegaocai-20-24-32-88******\n",
    "******Processing gejinhua-21-26-35-82******\n",
    "******Processing geqingqing-33-41-68-169******\n",
    "******Processing gezhenghua-15-19-34-88******\n",
    "******Processing gezhidong-21-27-38-93******\n",
    "******Processing guohao-25-30-38-94******\n",
    "******Processing guoyafang-24-29-52-136******\n",
    "******Processing hanjinxiao-31-43-80-183******\n",
    "******Processing hanshufang-28-35-53-137******\n",
    "******Processing hanweijie-19-25-37-90******\n",
    "******Processing hebaomin-28-37-54-145******\n",
    "******Processing heguansheng-15-20-43-92******\n",
    "******Processing henglangye-15-20-25-83******\n",
    "******Processing hexiena-18-22-38-82******\n",
    "******Processing hongxia-17-34-43-122******\n",
    "******Processing huangguixian-24-28-45-101******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangguixian-24-28-45-101_0032.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangguixian-24-28-45-101_0033.txt\n",
    "******Processing huanghuaide-23-34-57-153******\n",
    "******Processing huangjiabao-22-27-33-53******\n",
    "******Processing huangjuzhen-13-17-29-77******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huangjuzhen-13-17-29-77_0024.txt\n",
    "******Processing huanglongsheng-23-28-46-92******\n",
    "******Processing huangweigen-24-32-62-138******\n",
    "******Processing huangxiang-22-26-42-84******\n",
    "******Processing huangxuena-17-22-27-75******\n",
    "******Processing huangzhanzhang-25-33-46-134******\n",
    "******Processing huangzhaoxun-29-41-62-152******\n",
    "******Processing huaweiqin-15-25-33-77******\n",
    "******Processing hukaipin-29-39-73-159******\n",
    "******Processing humingdong-18-22-29-85******\n",
    "******Processing huxiangxin-19-24-34-86******\n",
    "******Processing huxianhua-32-41-55-143******\n",
    "******Processing huyongxian-18-25-38-88******\n",
    "******Processing huyunhua-15-20-28-78******\n",
    "******Processing huzaoheng-16-23-34-67******\n",
    "******Processing huzhengjin-19-27-48-150******\n",
    "******Processing jiangchengsan-25-34-50-133******\n",
    "******Processing jiangguanshui-16-21-31-85******\n",
    "******Processing jiangjianrong-16-21-31-82******\n",
    "******Processing jiangjiaqi-23-30-39-140******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0110.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0111.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0112.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0113.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0114.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0115.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0116.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0117.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/jiangjiaqi-23-30-39-140/labels/jiangjiaqi-23-30-39-140_0118.txt'\n",
    "******Processing jiangjinfeng-26-39-58-152******\n",
    "******Processing jiangshengfang-19-23-34-79******\n",
    "******Processing jiangxiangzhong-15-20-29-83******\n",
    "******Processing jiangyuxiang-15-19-37-83******\n",
    "******Processing jiangzhongshui-24-32-48-134******\n",
    "******Processing jiangzhuxian-10-16-24-75******\n",
    "******Processing jinaixiang-34-41-63-149******\n",
    "******Processing jinangui-17-21-37-81******\n",
    "******Processing jingchunya-12-17-25-82******\n",
    "******Processing jinjianrong-19-24-32-86******\n",
    "******Processing jinlanhua-24-32-43-131******\n",
    "******Processing jinruiyue-13-18-28-80******\n",
    "******Processing jinshuigen-18-23-36-79******\n",
    "******Processing jinxianqing-15-23-37-81******\n",
    "******Processing jinyongfa-25-29-37-92******\n",
    "******Processing jinyu-19-29-44-146******\n",
    "******Processing jinzhaoxiang-28-37-55-126******\n",
    "******Processing kerengang-25-30-41-91******\n",
    "******Processing kongfansheng-20-26-38-87******\n",
    "******Processing kongxiangang-24-28-38-97******\n",
    "******Processing kongxiangwen-12-18-32-86******\n",
    "******Processing laijinhu-14-21-34-83******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.427734, 0.225586)出界：laijinhu-14-21-34-83_0050.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.423828, 0.223633)出界：laijinhu-14-21-34-83_0051.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.421875, 0.223633)出界：laijinhu-14-21-34-83_0052.txt\n",
    "******Processing leijiuxiang-31-38-68-153******\n",
    "******Processing liangmingfen-19-24-34-84******\n",
    "******Processing liangzhenwei-16-20-39-92******\n",
    "******Processing liaoxiuhua-36-44-55-144******\n",
    "******Processing lidanfa-11-16-34-72******\n",
    "******Processing lideming-16-23-43-90******\n",
    "******Processing lidong-16-21-25-83******\n",
    "******Processing lifengyun-8-16-35-81******\n",
    "******Processing liguoyong-26-35-57-150******\n",
    "******Processing lihonggang-13-18-33-88******\n",
    "******Processing lihongmei-11-16-33-83******\n",
    "******Processing lijunhua-15-21-27-82******\n",
    "******Processing linaizhen-23-31-58-144******\n",
    "******Processing lining-17-21-28-81******\n",
    "******Processing linshangjin-15-19-36-81******\n",
    "******Processing lintianye-18-28-46-136******\n",
    "******Processing linyantian-22-32-54-146******\n",
    "******Processing linyaoqin-15-20-30-89******\n",
    "******Processing liqiang-17-22-27-83******\n",
    "******Processing lirongchang-13-17-27-86******\n",
    "******Processing lishankui-17-25-56-142******\n",
    "******Processing lishengfu-19-25-37-95******\n",
    "******Processing lisucheng-22-26-36-89******\n",
    "******Processing liubaojian-23-31-49-143******\n",
    "******Processing liulixuan-16-22-27-87******\n",
    "******Processing liulunyong-26-35-49-155******\n",
    "******Processing liutongkang-12-18-25-84******\n",
    "******Processing liuwangyang-19-24-32-87******\n",
    "******Processing liuweizhen-15-20-31-80******\n",
    "******Processing liuxiaolin-39-49-81-176******\n",
    "******Processing lixian-19-24-32-83******\n",
    "******Processing lixiaolang-17-21-30-83******\n",
    "******Processing lixiebing-17-20-37-87******\n",
    "******Processing lixinxi-16-23-33-86******\n",
    "******Processing lixiuhua-28-37-51-135******\n",
    "******Processing liyingsheng-13-17-34-87******\n",
    "******Processing liyongjian-16-22-31-86******\n",
    "******Processing liyufang-32-40-68-138******\n",
    "******Processing liyunbo-21-28-45-150******\n",
    "******Processing liyunkun-29-33-51-99******\n",
    "******Processing lizufu-21-26-42-93******\n",
    "******Processing longpiaojiang-29-40-65-184******\n",
    "******Processing longyingdong-21-25-40-99******\n",
    "******Processing loucaidi-26-35-63-154******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/loucaidi-26-35-63-154/labels/loucaidi-26-35-63-154_0134.txt'\n",
    "******Processing loudinghong-18-22-39-93******\n",
    "******Processing louguiqin-19-28-50-150******\n",
    "******Processing lucaifa-25-34-62-147******\n",
    "******Processing luguiyun-10-16-27-82******\n",
    "******Processing luguojing-27-36-47-141******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：luguojing-27-36-47-141_0041.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/luguojing-27-36-47-141/labels/luguojing-27-36-47-141_0075.txt'\n",
    "******Processing lujuquan-25-35-50-126******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/lujuquan-25-35-50-126/labels/lujuquan-25-35-50-126_0104.txt'\n",
    "******Processing lulimian-24-31-64-135******\n",
    "******Processing lumin-13-17-34-85******\n",
    "******Processing luoguangrong-23-32-51-129******\n",
    "******Processing luoguidi-21-32-51-140******\n",
    "******Processing luojinfeng-30-38-53-149******\n",
    "******Processing luojun-22-29-51-139******\n",
    "******Processing luoshuijin-15-19-35-74******\n",
    "******Processing luqiaoling-12-17-26-73******\n",
    "******Processing lushuyun-19-30-47-149******\n",
    "******Processing luweiqing-16-20-37-93******\n",
    "******Processing luwenjun-20-30-44-141******\n",
    "******Processing luyuefeng-24-28-40-94******\n",
    "******Processing luzhiwei-19-25-36-88******\n",
    "******Processing lvbiqiang-34-42-63-143******\n",
    "******Processing lvnanxian-17-23-32-84******\n",
    "******Processing lvyinhuan-34-43-58-151******\n",
    "******Processing lvyundi-29-36-45-131******\n",
    "******Processing maguojin-27-37-56-141******\n",
    "******Processing mahuiwu-10-14-23-84******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/mahuiwu-10-14-23-84/labels/mahuiwu-10-14-23-84_0049.txt'\n",
    "******Processing majiangen-17-22-34-87******\n",
    "******Processing majinmu-30-41-62-158******\n",
    "******Processing malingfeng-12-17-32-75******\n",
    "******Processing maoshuifa-30-40-60-144******\n",
    "******Processing maoshuijuan-12-17-23-80******\n",
    "******Processing maowenli-17-22-32-76******\n",
    "******Processing mawei-15-20-28-85******\n",
    "******Processing meipingan-36-45-60-137******\n",
    "******Processing menghaixing-17-28-41-136******\n",
    "******Processing miaohefen-19-27-40-134******\n",
    "******Processing miaoxiaojun-35-46-65-146******\n",
    "******Processing muchunxian-15-21-31-81******\n",
    "******Processing nabuqi-13-18-26-79******\n",
    "******Processing ningdegen-28-38-61-140******\n",
    "******Processing ningjiangui-18-23-30-83******\n",
    "******Processing nisixiang-11-17-25-81******\n",
    "******Processing panandan-16-21-31-81******\n",
    "******Processing panhongfu-37-48-75-151******\n",
    "******Processing panming-17-22-30-90******\n",
    "******Processing panxiangyang-45-53-97-196******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.758789, 0.52832)出界：panxiangyang-45-53-97-196_0117.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.754883, 0.520508)出界：panxiangyang-45-53-97-196_0118.txt\n",
    "******Processing panxiuping-29-38-55-142******\n",
    "******Processing panyuda-29-36-52-102******\n",
    "******Processing pengguizhen-30-41-59-160******\n",
    "******Processing pengyufei-31-39-51-154******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0089.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/pengyufei-31-39-51-154/labels/pengyufei-31-39-51-154_0091.txt'\n",
    "******Processing puchenhu-18-21-33-89******\n",
    "******Processing puguanghui-12-18-25-74******\n",
    "******Processing qianaqin-18-26-52-141******\n",
    "******Processing qianliujiu-9-15-24-75******\n",
    "******Processing qihuazhong-16-20-29-82******\n",
    "******Processing qiuwei-31-39-53-138******\n",
    "******Processing qizhikun-29-37-57-130******\n",
    "******Processing qubo-14-19-29-82******\n",
    "******Processing quzhuming-31-41-69-192******\n",
    "******Processing renjiali-34-42-52-138******\n",
    "******Processing renlaifa-19-30-53-153******\n",
    "******Processing renxiuyuan-18-23-31-79******\n",
    "******Processing shanziliang-13-19-30-90******\n",
    "******Processing shanzixian-30-39-59-153******\n",
    "******Processing shaobingsheng-13-19-27-80******\n",
    "******Processing shaochuanlai-16-22-36-83******\n",
    "******Processing shenfengmei-29-36-58-130******\n",
    "******Processing shengmingzhen-10-13-26-75******\n",
    "******Processing shenguilin-18-25-35-53******\n",
    "******Processing shenhaiqin-20-28-38-129******\n",
    "******Processing shenxingen-29-40-60-150******\n",
    "******Processing shenxuemei-15-21-28-79******\n",
    "******Processing shenxuhong-20-24-34-82******\n",
    "******Processing shenyan-16-23-57-125******\n",
    "******Processing shenyaping-30-40-57-139******\n",
    "******Processing shenyunzhou-24-33-70-141******\n",
    "******Processing shenyuzhen-11-16-25-77******\n",
    "******Processing shenziming-17-24-34-84******\n",
    "******Processing shiburen-15-20-29-91******\n",
    "******Processing shizhifu-37-47-58-147******\n",
    "******Processing shouyunfang-20-26-42-136******\n",
    "******Processing songzongwei-20-26-39-94******\n",
    "******Processing sundelin-15-21-31-90******\n",
    "******Processing sunlutao-14-23-70-127******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0038.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0039.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0040.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0041.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0042.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0043.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0044.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0045.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0046.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0047.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0048.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0049.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0050.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0051.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0052.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0053.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0054.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0055.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0056.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0057.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0058.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：sunlutao-14-23-70-127_0059.txt\n",
    "******Processing sunyunxian-11-17-23-75******\n",
    "******Processing tangchunhua-10-16-20-76******\n",
    "******Processing tangshuiming-33-44-68-153******\n",
    "******Processing taofeng-18-22-28-81******\n",
    "******Processing taonan-19-24-37-87******\n",
    "******Processing taoquanying-13-18-30-83******\n",
    "******Processing taowenming-23-32-59-138******\n",
    "******Processing taoxiuwei-26-34-54-137******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：taoxiuwei-26-34-54-137_0039.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：taoxiuwei-26-34-54-137_0040.txt\n",
    "******Processing tongbo-25-35-51-153******\n",
    "******Processing tongchichang-16-21-35-88******\n",
    "******Processing tongxijie-33-42-61-178******\n",
    "******Processing tuyurong-15-18-34-88******\n",
    "******Processing wangahai-16-22-43-91******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangahai-16-22-43-91/labels/wangahai-16-22-43-91_0079.txt'\n",
    "******Processing wangaifang-13-19-28-74******\n",
    "******Processing wangbaoyu-7-12-21-75******\n",
    "******Processing wangbeibei-28-38-62-148******\n",
    "******Processing wangbingdao-26-36-55-132******\n",
    "******Processing wangdahua-19-24-33-89******\n",
    "******Processing wangdandan-32-39-50-142******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wangdandan-32-39-50-142_0044.txt\n",
    "******Processing wangdayang-3-14-41-137******\n",
    "******Processing wangdehao-40-51-65-159******\n",
    "******Processing wangfancun-28-39-72-175******\n",
    "******Processing wangfeng-14-19-31-85******\n",
    "******Processing wangguojian-20-25-39-86******\n",
    "******Processing wangguolong-16-21-33-84******\n",
    "******Processing wanghaifang-40-47-83-160******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.550781, 0.75)出界：wanghaifang-40-47-83-160_0060.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 53, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.550781, 0.75)出界：wanghaifang-40-47-83-160_0060.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.550781, 0.751953)出界：wanghaifang-40-47-83-160_0061.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 53, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.550781, 0.751953)出界：wanghaifang-40-47-83-160_0061.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.550781, 0.75293)出界：wanghaifang-40-47-83-160_0062.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 53, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.550781, 0.75293)出界：wanghaifang-40-47-83-160_0062.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.550781, 0.75293)出界：wanghaifang-40-47-83-160_0063.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 53, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.550781, 0.75293)出界：wanghaifang-40-47-83-160_0063.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.550781, 0.754883)出界：wanghaifang-40-47-83-160_0064.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 53, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.550781, 0.754883)出界：wanghaifang-40-47-83-160_0064.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.551758, 0.757812)出界：wanghaifang-40-47-83-160_0065.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 53, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.551758, 0.757812)出界：wanghaifang-40-47-83-160_0065.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.552734, 0.758789)出界：wanghaifang-40-47-83-160_0066.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 53, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.552734, 0.758789)出界：wanghaifang-40-47-83-160_0066.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.759766)出界：wanghaifang-40-47-83-160_0067.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 53, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.759766)出界：wanghaifang-40-47-83-160_0067.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.758789)出界：wanghaifang-40-47-83-160_0068.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 53, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.758789)出界：wanghaifang-40-47-83-160_0068.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.757812)出界：wanghaifang-40-47-83-160_0069.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 53, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.757812)出界：wanghaifang-40-47-83-160_0069.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.757812)出界：wanghaifang-40-47-83-160_0070.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 53, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.757812)出界：wanghaifang-40-47-83-160_0070.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.758789)出界：wanghaifang-40-47-83-160_0071.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 53, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.758789)出界：wanghaifang-40-47-83-160_0071.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.758789)出界：wanghaifang-40-47-83-160_0072.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 53, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.758789)出界：wanghaifang-40-47-83-160_0072.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.758789)出界：wanghaifang-40-47-83-160_0073.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 53, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.551758, 0.758789)出界：wanghaifang-40-47-83-160_0073.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.552734, 0.756836)出界：wanghaifang-40-47-83-160_0074.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 53, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.552734, 0.756836)出界：wanghaifang-40-47-83-160_0074.txt\n",
    "******Processing wanghongchao-33-42-69-153******\n",
    "******Processing wangjiajin-35-46-69-148******\n",
    "******Processing wangjian-17-24-32-88******\n",
    "******Processing wangjianlin-15-21-37-82******\n",
    "******Processing wangjie-15-19-31-49******\n",
    "******Processing wangjinlie-26-33-45-87******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangjinlie-26-33-45-87/labels/wangjinlie-26-33-45-87_0076.txt'\n",
    "******Processing wangkehuai-47-57-80-157******\n",
    "******Processing wangligang-25-36-55-154******\n",
    "******Processing wangluhua-18-23-32-87******\n",
    "******Processing wangmingxuan-35-45-67-157******\n",
    "******Processing wangronglin-16-21-28-81******\n",
    "******Processing wangsonglin-19-24-27-86******\n",
    "******Processing wangwei-16-20-36-87******\n",
    "******Processing wangwei-32-39-50-139******\n",
    "******Processing wangwuzhuang-28-33-41-98******\n",
    "******Processing wangxinhui-18-23-31-85******\n",
    "******Processing wangying-30-36-77-162******\n",
    "******Processing wangyouxiang-21-27-41-131******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0099.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxiang-21-27-41-131/labels/wangyouxiang-21-27-41-131_0102.txt'\n",
    "******Processing wangyouxin-34-42-64-160******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wangyouxin-34-42-64-160/labels/wangyouxin-34-42-64-160_0120.txt'\n",
    "******Processing wangyuncai-14-20-34-91******\n",
    "******Processing wangyunxian-18-27-39-134******\n",
    "******Processing wangyuzhi-29-38-55-156******\n",
    "******Processing weifengli-26-34-62-147******\n",
    "******Processing weihuiqiong-27-33-58-137******\n",
    "******Processing weiliping-14-19-29-82******\n",
    "******Processing wenshuijuan-30-36-66-145******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0040.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0041.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0046.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0047.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0048.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0049.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0050.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0051.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0052.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0053.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wenshuijuan-30-36-66-145_0054.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0075.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0080.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.0146484, 0.613281)出界：wenshuijuan-30-36-66-145_0081.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wenshuijuan-30-36-66-145/labels/wenshuijuan-30-36-66-145_0126.txt'\n",
    "******Processing wenshuinong-24-33-55-141******\n",
    "******Processing wufenai-9-15-28-81******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wufenai-9-15-28-81/labels/wufenai-9-15-28-81_0015.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 53, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wufenai-9-15-28-81/labels/wufenai-9-15-28-81_0015.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0016.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0017.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0018.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0019.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0020.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0021.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0022.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0023.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：wufenai-9-15-28-81_0024.txt\n",
    "******Processing wugaoyou-12-17-24-81******\n",
    "******Processing wuguorong-30-39-51-140******\n",
    "******Processing wuhanjiang-18-22-39-85******\n",
    "******Processing wujianguo-14-20-29-89******\n",
    "******Processing wumingshi2021040501-17-22-30-81******\n",
    "******Processing wumingshi2021061701-25-28-45-98******\n",
    "******Processing wumingshi2021080102-38-47-85-156******\n",
    "******Processing wuqinmei-24-32-52-140******\n",
    "******Processing wuruqing-49-60-96-153******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuruqing-49-60-96-153/labels/wuruqing-49-60-96-153_0133.txt'\n",
    "******Processing wutiandi-21-28-54-120******\n",
    "******Processing wutianshun-12-17-26-80******\n",
    "******Processing wuyanxian-17-21-36-83******\n",
    "******Processing wuyunfang-20-25-34-85******\n",
    "******Processing wuzili-13-19-28-72******\n",
    "******Processing wuzongtang-29-36-76-141******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuzongtang-29-36-76-141/labels/wuzongtang-29-36-76-141_0120.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuzongtang-29-36-76-141/labels/wuzongtang-29-36-76-141_0121.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuzongtang-29-36-76-141/labels/wuzongtang-29-36-76-141_0122.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuzongtang-29-36-76-141/labels/wuzongtang-29-36-76-141_0123.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuzongtang-29-36-76-141/labels/wuzongtang-29-36-76-141_0124.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuzongtang-29-36-76-141/labels/wuzongtang-29-36-76-141_0125.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/wuzongtang-29-36-76-141/labels/wuzongtang-29-36-76-141_0126.txt'\n",
    "******Processing xiabao-33-42-78-196******\n",
    "******Processing xiajinying-22-32-46-134******\n",
    "******Processing xiangzhaochong-15-20-31-78******\n",
    "******Processing xiaofuxin-25-33-64-153******\n",
    "******Processing xiasuifu-12-18-30-84******\n",
    "******Processing xiaxianlin-5-9-15-71******\n",
    "******Processing xiaxinghua-17-22-33-89******\n",
    "******Processing xiegenjun-21-26-34-93******\n",
    "******Processing xiemeiying-21-29-41-127******\n",
    "******Processing xieshangyong-14-20-27-87******\n",
    "******Processing xiezhaoqin-17-21-29-81******\n",
    "******Processing xinyongsheng-13-18-26-86******\n",
    "******Processing xiyongmin-25-35-62-162******\n",
    "******Processing xucaizhen-27-37-51-131******\n",
    "******Processing xudingguo-21-25-38-89******\n",
    "******Processing xuguangtai-16-21-36-91******\n",
    "******Processing xurihua-26-34-61-145******\n",
    "******Processing xushengwu-31-41-60-150******\n",
    "******Processing xuxuee-22-30-45-123******\n",
    "******Processing xuyizhen-22-32-47-149******\n",
    "******Processing xuyuetian-22-30-53-132******\n",
    "******Processing yananfen-29-39-56-146******\n",
    "******Processing yanchunhong-36-45-64-155******\n",
    "******Processing yangjinnan-31-38-67-146******\n",
    "******Processing yangqingyue-31-39-50-128******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yangqingyue-31-39-50-128/labels/yangqingyue-31-39-50-128_0102.txt'\n",
    "******Processing yangshujuan-30-39-62-160******\n",
    "******Processing yangtangyong-15-19-35-85******\n",
    "******Processing yangxiaohui-20-28-39-125******\n",
    "******Processing yangyuqi-34-44-60-157******\n",
    "******Processing yangzengrong-28-40-58-161******\n",
    "******Processing yangzengrong-37-48-78-188******\n",
    "******Processing yangzhengfu-18-22-32-75******\n",
    "******Processing yangzhengqian-16-21-26-78******\n",
    "******Processing yaohuiping-16-21-29-79******\n",
    "******Processing yaojingen-20-25-31-81******\n",
    "******Processing yegenxiang-11-17-30-80******\n",
    "******Processing yepusheng-13-18-27-79******\n",
    "******Processing yeronghua-21-32-49-149******\n",
    "******Processing yesenfei-22-32-53-172******\n",
    "******Processing yeshanhui-33-43-55-143******\n",
    "******Processing yeweigen-17-21-29-84******\n",
    "******Processing yimuyun-15-19-28-75******\n",
    "******Processing yinggenhua-36-45-72-174******\n",
    "******Processing yiqiang-16-21-30-78******\n",
    "******Processing yuaiyuan-13-18-29-84******\n",
    "******Processing yuanashui-27-38-57-141******\n",
    "******Processing yuanjuhe-11-16-27-76******\n",
    "******Processing yuankunfa-27-33-44-89******\n",
    "******Processing yuanxiazhen-14-18-36-76******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yuanxiazhen-14-18-36-76/labels/yuanxiazhen-14-18-36-76_0039.txt'\n",
    "******Processing yuanxicai-35-43-85-169******\n",
    "******Processing yuanyongjin-12-18-27-81******\n",
    "******Processing yubaisong-25-33-65-152******\n",
    "******Processing yuguangyang-18-23-33-90******\n",
    "******Processing yujixin-32-41-62-143******\n",
    "******Processing yukang-17-22-27-82******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yukang-17-22-27-82/labels/yukang-17-22-27-82_0061.txt'\n",
    "******Processing yukang-27-36-46-135******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yukang-27-36-46-135/labels/yukang-27-36-46-135_0104.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yukang-27-36-46-135/labels/yukang-27-36-46-135_0105.txt'\n",
    "******Processing yumengting-19-26-36-123******\n",
    "******Processing yupengjie-26-34-46-134******\n",
    "******Processing yushengfu-31-40-56-154******\n",
    "******Processing yuweiliang-29-35-47-104******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yuweiliang-29-35-47-104/labels/yuweiliang-29-35-47-104_0074.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/yuweiliang-29-35-47-104/labels/yuweiliang-29-35-47-104_0075.txt'\n",
    "******Processing yuxiaotu-20-25-36-90******\n",
    "******Processing yuyinglong-24-30-51-98******\n",
    "******Processing yuyunfu-26-33-66-148******\n",
    "******Processing yuzhixue-16-21-38-91******\n",
    "******Processing zengchunsheng-23-30-41-128******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zengchunsheng-23-30-41-128/labels/zengchunsheng-23-30-41-128_0101.txt'\n",
    "******Processing zengshengjiang-19-23-36-89******\n",
    "******Processing zhangchao-13-18-29-81******\n",
    "******Processing zhangdanye-31-38-50-143******\n",
    "******Processing zhangduofeng-12-17-28-55******\n",
    "******Processing zhangfagen-22-27-37-92******\n",
    "******Processing zhangguanghong-39-46-68-156******\n",
    "******Processing zhangguofeng-21-27-35-90******\n",
    "******Processing zhangguofeng-25-30-45-97******\n",
    "******Processing zhanghanmin-13-19-27-76******\n",
    "******Processing zhanghonghu-37-45-69-149******\n",
    "******Processing zhanghuanquan-17-22-29-75******\n",
    "******Processing zhangjingjing-16-19-30-78******\n",
    "******Processing zhangjingzhong-53-59-85-174******\n",
    "******Processing zhangjunfei-25-33-52-125******\n",
    "******Processing zhangkesheng-27-34-63-144******\n",
    "******Processing zhanglanxian-19-28-48-129******\n",
    "******Processing zhangmeiqin-19-22-39-86******\n",
    "******Processing zhangmingfa-22-27-37-93******\n",
    "******Processing zhangqingrong-32-43-73-161******\n",
    "******Processing zhangsuyun-18-21-37-81******\n",
    "******Processing zhangxianjun-16-23-31-82******\n",
    "******Processing zhangyao-17-22-29-83******\n",
    "******Processing zhangyitian-26-32-55-148******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhangyitian-26-32-55-148/labels/zhangyitian-26-32-55-148_0110.txt'\n",
    "******Processing zhangyulin-20-25-40-93******\n",
    "******Processing zhanmin-18-23-37-88******\n",
    "******Processing zhaofuchang-16-21-30-80******\n",
    "******Processing zhaomin-11-15-32-86******\n",
    "******Processing zhaorong-33-42-71-163******\n",
    "******Processing zhaoshunshou-30-38-53-139******\n",
    "******Processing zhaosuifang-23-34-61-154******\n",
    "******Processing zhaoyijun-17-20-33-82******\n",
    "******Processing zhaoyouyang-24-34-41-125******\n",
    "******Processing zhengfahong-22-26-44-99******\n",
    "******Processing zhengguanhan-17-23-34-79******\n",
    "******Processing zhengjilang-23-33-49-135******\n",
    "******Processing zhengjuying-16-19-33-86******\n",
    "******Processing zhengronghua-21-30-44-127******\n",
    "******Processing zhengwanhua-29-40-59-156******\n",
    "******Processing zhengwenyan-15-20-29-82******\n",
    "******Processing zhengxuefei-21-24-43-86******\n",
    "******Processing zhengyingu-14-18-26-76******\n",
    "******Processing zhengyouduo-23-27-41-83******\n",
    "******Processing zhengzaidi-22-34-51-153******\n",
    "******Processing zhensuzhen-20-25-34-90******\n",
    "******Processing zhongxiaoxiang-30-40-53-139******\n",
    "******Processing zhoubo-19-26-41-137******\n",
    "******Processing zhouguoming-20-25-30-82******\n",
    "******Processing zhouhaibin-30-39-74-185******\n",
    "******Processing zhouhongqiong-31-42-54-147******\n",
    "******Processing zhoujun-12-16-24-77******\n",
    "******Processing zhoulijun-18-23-35-93******\n",
    "******Processing zhoushan-17-20-39-78******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhoushan-17-20-39-78/labels/zhoushan-17-20-39-78_0048.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhoushan-17-20-39-78/labels/zhoushan-17-20-39-78_0049.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhoushan-17-20-39-78/labels/zhoushan-17-20-39-78_0061.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhoushan-17-20-39-78/labels/zhoushan-17-20-39-78_0062.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhoushan-17-20-39-78/labels/zhoushan-17-20-39-78_0068.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhoushan-17-20-39-78/labels/zhoushan-17-20-39-78_0069.txt'\n",
    "******Processing zhoushijun-30-37-64-145******\n",
    "******Processing zhouweiqiang-19-24-42-90******\n",
    "******Processing zhouwenming-40-48-67-147******\n",
    "******Processing zhouxianhang-13-17-26-78******\n",
    "******Processing zhouxinya-24-30-40-120******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhouxinya-24-30-40-120_0030.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhouxinya-24-30-40-120_0031.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhouxinya-24-30-40-120_0032.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhouxinya-24-30-40-120_0033.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 44, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 's')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：zhouxinya-24-30-40-120_0036.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 67, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{i:04d}.txt'), 'j')\n",
    "  File \"/tmp/ipykernel_37964/1505233875.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/negative/zhouxinya-24-30-40-120/labels/zhouxinya-24-30-40-120_0047.txt'\n",
    "******Processing zhouxiushan-14-18-34-84******\n",
    "******Processing zhouyixiao-22-28-40-83******\n",
    "******Processing zhouyongjin-17-21-35-87******\n",
    "******Processing zhouyongyan-21-33-51-136******\n",
    "******Processing zhouzhangnv-12-18-31-80******\n",
    "******Processing zhouzhangyun-26-35-61-136******\n",
    "******Processing zhudamin-33-41-70-156******\n",
    "******Processing zhuguizhou-18-23-34-85******\n",
    "******Processing zhuguofang-15-20-32-85******\n",
    "******Processing zhujianfu-16-22-28-87******\n",
    "******Processing zhujianfu-30-42-62-154******\n",
    "******Processing zhukuanwen-15-21-29-83******\n",
    "******Processing zhumeizheng-34-42-69-167******\n",
    "******Processing zhuodepeng-9-14-23-78******\n",
    "******Processing zhuxiaoqin-22-29-50-130******\n",
    "******Processing zhuxinnan-18-26-49-129******\n",
    "******Processing zhuyanjie-20-25-35-89******\n",
    "******Processing zoudeling-11-15-30-84******"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "c5104744",
   "metadata": {},
   "outputs": [],
   "source": [
    "更新检测模型后的夹层数据\n",
    "28\n",
    "['baojinan-J-24-87', 'baoyin-S-Im9-22-J-Im9-68', 'chencaiying-J-19-79', 'fangzhuxiang-J-18-61', 'guanxujun-S-Im25-35-J-Im25-87', 'guquankang-J-Im18-69', 'huangdebing-S-Im40-48-J-Im33-138', 'huxiaomei-S-Im21-24', 'laiguizhen-J-Im38-121', 'leixiaoying-S-Im18-26-J-18-71', 'liangjianjun-S-17-23', 'lianzhaozhen-S-Im23-30-J-Im23-84', 'lingshounv-S-Im18-28-J-Im18-76', 'liubihai-S-23-26-J-23-93', 'shenjie-S-Im39-59-J-Im39-85', 'wangzhuxi-J-Im25-144', 'wuyingbo-J-Im36-98', 'xuanhuili-J-Im30-135', 'yanglanfen-S-Im19-33', 'yangmin-J-Im37-150', 'yangmingjun-S-15-24-J-15-61', 'yangyuexian-S-Im38-63', 'yangzhengfu-S-Im16-30-J-Im16-77', 'yaowenhao-J-36-47', 'yexianchang-S-17-30-J-17-74', 'zhangyunqin-S-Im14-25-J-Im14-64', 'zhuhancheng-S-Im27-36-J-Im27-86', 'zhuseng-S-Im24-31-J-Im24-105']\n",
    "\n",
    "\n",
    "******Processing baochunsheng-J-20-82******\n",
    "******Processing baojinan-J-24-87******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/baojinan-J-24-87/labels/baojinan-J-24-87_0076.txt'\n",
    "******Processing baoyin-S-Im9-22-J-Im9-68******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/baoyin-S-Im9-22-J-Im9-68/labels/baoyin-S-Im9-22-J-Im9-68_0065.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/baoyin-S-Im9-22-J-Im9-68/labels/baoyin-S-Im9-22-J-Im9-68_0066.txt'\n",
    "******Processing baozuoshi-J-16-79******\n",
    "******Processing caijilu-J-Im41-87******\n",
    "******Processing caimeiju-J-Im21-81******\n",
    "******Processing caiweiguang-J-Im35-152******\n",
    "******Processing caiying-J-Im34-52******\n",
    "******Processing changzhenxuan-J-15-55******\n",
    "******Processing chenaijiao-J-26-41******\n",
    "******Processing chenaijun-S-Im25-38-J-Im25-85******\n",
    "******Processing chenazhao-S-Im17-30******\n",
    "******Processing chenbo-S-Im24-45-J-Im24-97******\n",
    "******Processing chencaiying-J-19-79******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/chencaiying-J-19-79/labels/chencaiying-J-19-79_0071.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/chencaiying-J-19-79/labels/chencaiying-J-19-79_0078.txt'\n",
    "******Processing chenfujun-J-Im43-100******\n",
    "******Processing chenfuliang-S-21-31-J-21-84******\n",
    "******Processing chenganyao-J-19-40******\n",
    "******Processing chengdazhong-J-Im24-38******\n",
    "******Processing chenggang-J-Im18-81******\n",
    "******Processing chenglongdeng-S-Im21-33-J-Im21-78******\n",
    "******Processing chengshizheng-J-Im30-145******\n",
    "******Processing chenguorong-J-Im18-77******\n",
    "******Processing chengyonghui-J-17-81******\n",
    "******Processing chenhui-S-17-25-J-17-87******\n",
    "******Processing chenjian-J-Im14-81******\n",
    "******Processing chenjiandong-S-19-28-J-19-91******\n",
    "******Processing chenjinfa-J-Im34-105******\n",
    "******Processing chenjufa-J-16-66******\n",
    "******Processing chenjuli-J-Im18-49******\n",
    "******Processing chenjun-J-Im33-137******\n",
    "******Processing chenlibo-S-Im39-57******\n",
    "******Processing chenlili-S-Im18-24-J-Im18-74******\n",
    "******Processing chenmimao-S-Im32-40******\n",
    "******Processing chenmin-J-Im26-67******\n",
    "******Processing chenping-J-Im23-88******\n",
    "******Processing chenqiusheng-J-Im34-143******\n",
    "******Processing chenrugu-J-Im21-79******\n",
    "******Processing chensheng-J-Im31-91******\n",
    "******Processing chensiqi-S-17-28-J-17-69******\n",
    "******Processing chenweimin-J-Im20-36******\n",
    "******Processing chenwenhua-J-Im41-158******\n",
    "******Processing chenxiaoxiang-J-Im23-88******\n",
    "******Processing chenxuehua-S-Im17-27-J-Im17-35******\n",
    "******Processing chenyicong-J-Im17-58******\n",
    "******Processing chiyanfei-J-Im20-83******\n",
    "******Processing chugentang-J-Im19-80******\n",
    "******Processing chujiancheng-J-Im45-122******\n",
    "******Processing daizuokou-J-Im19-74******\n",
    "******Processing digenlan-J-23-50******\n",
    "******Processing dingliyun-J-Im19-57******\n",
    "******Processing dingzhiqun-S-Im21-29******\n",
    "******Processing dongzhigen-J-Im22-102******\n",
    "******Processing dukun-S-20-22-J-20-23******\n",
    "******Processing fangchunfeng-J-16-48******\n",
    "******Processing fanghao-J-Im23-89******\n",
    "******Processing fanghongwei-J-22-71******\n",
    "******Processing fangtianming-S-Im15-30-J-Im15-65******\n",
    "******Processing fangyuxian-J-23-60******\n",
    "******Processing fangzhuxiang-J-18-61******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/fangzhuxiang-J-18-61/labels/fangzhuxiang-J-18-61_0052.txt'\n",
    "******Processing fanlanhua-J-Im26-116******\n",
    "******Processing fanxinan-S-Im16-36-J-Im16-30******\n",
    "******Processing fudehe-S-20-33-J-20-70******\n",
    "******Processing ganxiaobin-J-23-51******\n",
    "******Processing gaosheng-J-Im19-67******\n",
    "******Processing gaoxiangqin-J-Im24-75******\n",
    "******Processing gongyongfa-S-Im18-34-J-Im18-87******\n",
    "******Processing guanxujun-S-Im25-35-J-Im25-87******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.568359, 0.15625)出界：guanxujun-S-Im25-35-J-Im25-87_0049.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.489258, 0.205078)出界：guanxujun-S-Im25-35-J-Im25-87_0064.txt\n",
    "******Processing guoheying-J-Im32-127******\n",
    "******Processing guojianfu-J-Im32-100******\n",
    "******Processing guoyinhua-J-13-87******\n",
    "******Processing guquankang-J-Im18-69******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/guquankang-J-Im18-69/labels/guquankang-J-Im18-69_0064.txt'\n",
    "******Processing hanchun-J-Im20-86******\n",
    "******Processing heguangfa-J-27-88******\n",
    "******Processing heguoyu-J-Im36-141******\n",
    "******Processing hexingwen-S-Im25-35-J-Im25-93******\n",
    "******Processing heyuexiang-J-Im18-76******\n",
    "******Processing hezhangquan-J-Im33-58******\n",
    "******Processing hongjinjun-S-Im24-28-J-Im24-83******\n",
    "******Processing hongzhimin-S-Im30-39-J-30-144******\n",
    "******Processing huajin-J-Im30-67******\n",
    "******Processing huangdebing-S-Im40-48-J-Im33-138******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/huangdebing-S-Im40-48-J-Im33-138/labels/huangdebing-S-Im40-48-J-Im33-138_0120.txt'\n",
    "******Processing huanghai-S-Im19-29-J-Im19-80******\n",
    "******Processing huanglijun-J-24-98******\n",
    "******Processing huangqiang-J-Im42-147******\n",
    "******Processing huangsuyue-J-Im21-41******\n",
    "******Processing huangwanman-S-15-30******\n",
    "******Processing huangxiansheng-J-Im25-59******\n",
    "******Processing huangxihong-J-Im27-136******\n",
    "******Processing huangyong-J-Im18-127******\n",
    "******Processing huangyongliang-J-Im16-81******\n",
    "******Processing huchaoming-J-Im43-126******\n",
    "******Processing huleijun-J-Im25-141******\n",
    "******Processing hupingli-J-Im18-69******\n",
    "******Processing huweibang-S-Im25-30-J-Im25-79******\n",
    "******Processing huxiaomei-S-Im21-24******\n",
    "******Processing jiadeen-J-Im34-148******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：huxiaomei-S-Im21-24_0020.txt\n",
    "******Processing jiangboming-J-Im33-40******\n",
    "******Processing jiangdapeng-J-Im29-136******\n",
    "******Processing jiangjianchun-J-Im31-151******\n",
    "******Processing jiangwangchun-J-Im30-103******\n",
    "******Processing jihongke-S-Im20-24-J-Im20-86******\n",
    "******Processing jilixian-J-Im34-108******\n",
    "******Processing jinchongfei-J-22-92******\n",
    "******Processing jinfajun-J-Im22-72******\n",
    "******Processing jinzhangbing-J-Im32-130******\n",
    "******Processing jiushan-S-Im21-30-J-Im21-82******\n",
    "******Processing kongxiaoqing-S-19-32-J-27-94******\n",
    "******Processing laiguizhen-J-Im38-121******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/laiguizhen-J-Im38-121/labels/laiguizhen-J-Im38-121_0104.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/laiguizhen-J-Im38-121/labels/laiguizhen-J-Im38-121_0105.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/laiguizhen-J-Im38-121/labels/laiguizhen-J-Im38-121_0120.txt'\n",
    "******Processing laixuexiang-J-Im33-148******\n",
    "******Processing langhongwei-J-Im24-82******\n",
    "******Processing lanshaomei-S-Im20-31-J-Im20-79******\n",
    "******Processing leitufa-S-Im30-60-J-Im30-117******\n",
    "******Processing leixiaoying-S-Im18-26-J-18-71******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：leixiaoying-S-Im18-26-J-18-71_0020.txt\n",
    "******Processing liangjianhua-J-Im18-75******\n",
    "******Processing liangjianjun-S-17-23******\n",
    "******Processing lianzhaozhen-S-Im23-30-J-Im23-84******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：liangjianjun-S-17-23_0016.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：liangjianjun-S-17-23_0017.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：liangjianjun-S-17-23_0018.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/lianzhaozhen-S-Im23-30-J-Im23-84/labels/lianzhaozhen-S-Im23-30-J-Im23-84_0068.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/lianzhaozhen-S-Im23-30-J-Im23-84/labels/lianzhaozhen-S-Im23-30-J-Im23-84_0069.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/lianzhaozhen-S-Im23-30-J-Im23-84/labels/lianzhaozhen-S-Im23-30-J-Im23-84_0072.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/lianzhaozhen-S-Im23-30-J-Im23-84/labels/lianzhaozhen-S-Im23-30-J-Im23-84_0073.txt'\n",
    "******Processing lidaoheng-S-Im22-36-J-Im22-92******\n",
    "******Processing ligang-S-Im33-36******\n",
    "******Processing liguangjun-S-25-31-J-25-93******\n",
    "******Processing liguirong-S-18-22******\n",
    "******Processing lihuanhuan-S-Im20-28-J-Im20-59******\n",
    "******Processing lijianming-J-Im32-124******\n",
    "******Processing linfaqiu-S-18-29******\n",
    "******Processing lingenqiang-S-Im30-39******\n",
    "******Processing lingshounv-S-Im18-28-J-Im18-76******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/lingshounv-S-Im18-28-J-Im18-76/labels/lingshounv-S-Im18-28-J-Im18-76_0072.txt'\n",
    "******Processing linjiaxiang-J-21-72******\n",
    "******Processing linkegui-S-18-33-J-18-54******\n",
    "******Processing linrichun-J-16-72******\n",
    "******Processing lirucou-J-19-59******\n",
    "******Processing lisiquan-S-68-70-J-68-89******\n",
    "******Processing liubihai-S-23-26-J-23-93******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/liubihai-S-23-26-J-23-93/labels/liubihai-S-23-26-J-23-93_0081.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/liubihai-S-23-26-J-23-93/labels/liubihai-S-23-26-J-23-93_0082.txt'\n",
    "******Processing liubingsong-J-20-84******\n",
    "******Processing liudongxian-J-16-66******\n",
    "******Processing liuhongfu-J-57-200******\n",
    "******Processing liukesheng-J-Im30-99******\n",
    "******Processing liushufen-S-18-27-J-18-78******\n",
    "******Processing liuyunfei-J-Im40-95******\n",
    "******Processing liuzhangliu-J-22-28******\n",
    "******Processing liwenjun-J-Im33-132******\n",
    "******Processing lixueyong-J-Im25-31******\n",
    "******Processing liyehua-S-Im30-47-J-Im30-131******\n",
    "******Processing lizhongliang-J-Im19-86******\n",
    "******Processing loulinhua-S-Im27-30******\n",
    "******Processing louyidong-S-Im38-58-J-Im38-133******\n",
    "******Processing lufeng-J-Im28-103******\n",
    "******Processing luguolin-J-Im33-40******\n",
    "******Processing luohongzhang-J-17-41******\n",
    "******Processing luojun-J-Im22-81******\n",
    "******Processing luoyunshen-J-Im29-94******\n",
    "******Processing luzhiping-S-Im25-35-J-Im25-54******\n",
    "******Processing lvguanyang-J-Im22-60******\n",
    "******Processing lvrongling-J-Im26-86******\n",
    "******Processing lvshibiao-J-Im20-76******\n",
    "******Processing lvxiangshen-J-Im32-139******\n",
    "******Processing maliwei-S-Im30-48-J-Im30-101******\n",
    "******Processing maxianfeng-J-Im37-64******\n",
    "******Processing mayongzhong-J-Im22-86******\n",
    "******Processing miqiurao-S-Im22-34--J-Im22-85******\n",
    "******Processing nixueya-J-19-75******\n",
    "******Processing niyongru-S-Im38-43-J-Im38-148******\n",
    "******Processing panbanggeng-J-Im19-78******\n",
    "******Processing pancunxiao-S-16-30-J-16-70******\n",
    "******Processing panguojun-S-Im25-31-J-25-76******\n",
    "******Processing panhejian-J-Im39-57******\n",
    "******Processing panhualin-S-24-29******\n",
    "******Processing panzhangsong-J-Im26-91******\n",
    "******Processing penggaofeng-S-Im28-36******\n",
    "******Processing pengshihong-J-23-53******\n",
    "******Processing pengzhengjiang-J-Im38-160******\n",
    "******Processing qianfuying-J-Im20-87******\n",
    "******Processing qiansongbo-J-19-24******\n",
    "******Processing qianwende-J-Im31-97******\n",
    "******Processing qianyaolin-J-Im36-67******\n",
    "******Processing qiaowei-S-Im18-30-J-Im18-82******\n",
    "******Processing qiuyuanxing-S-Im30-32******\n",
    "******Processing qiuzhidong-J-Im25-42******\n",
    "******Processing qumin-S-Im22-35-J-Im22-28******\n",
    "******Processing renjiasheng-J-Im26-88******\n",
    "******Processing ruweiping-S-Im52-63-J-Im52-94******\n",
    "******Processing shanghongjun-J-22-84******\n",
    "******Processing shanlegen-S-22-30-J-22-79******\n",
    "******Processing shaoxiulan-J-Im21-25******\n",
    "******Processing shaoyefeng-S-Im34-43-J-Im34-48******\n",
    "******Processing shenglina-J-Im21-65******\n",
    "******Processing shengwenping-S-Im37-46-J-Im37-116******\n",
    "******Processing shenjian-J-15-81******\n",
    "******Processing shenjie-S-Im39-59-J-Im39-85******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0066.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0068.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0069.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0070.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0071.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0072.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0076.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/shenjie-S-Im39-59-J-Im39-85/labels/shenjie-S-Im39-59-J-Im39-85_0077.txt'\n",
    "******Processing shenliqiang-J-Im29-137******\n",
    "******Processing shenqi-J-Im24-72******\n",
    "******Processing shenwenjiao-S-Im24-35******\n",
    "******Processing shenxuefu-S-Im33-40-J-Im33-101******\n",
    "******Processing shenyangfeng-J-Im36-120******\n",
    "******Processing shiaihong-J-36-80******\n",
    "******Processing shiguohu-J-Im19-70******\n",
    "******Processing shijiuwei-J-Im29-130******\n",
    "******Processing shizhongheng-J-Im23-50******\n",
    "******Processing shujianqiang-S-Im22-30-J-Im22-59******\n",
    "******Processing sishouzhong-J-Im25-137******\n",
    "******Processing siyoulin-S-16-26******\n",
    "******Processing sizhongyu-J-Im22-81******\n",
    "******Processing sunhongbin-J-19-66******\n",
    "******Processing sunhongliang-S-23-34******\n",
    "******Processing sunlibing-J-Im24-82******\n",
    "******Processing sunyudong-J-Im37-95******\n",
    "******Processing tangabiao-S-Im41-49-J-Im41-138******\n",
    "******Processing tangguoliang-J-Im18-41******\n",
    "******Processing tangjinlong-J-Im25-41******\n",
    "******Processing tanjiarong-S-17-23******\n",
    "******Processing tonghuiling-J-Im22-78******\n",
    "******Processing tongjinglin-J-Im36-146******\n",
    "******Processing tongyunbao-J-18-69******\n",
    "******Processing wangchenrong-S-Im18-24-J-Im18-38******\n",
    "******Processing wangjiangang-J-Im23-60******\n",
    "******Processing wangjiangwei-J-Im37-143******\n",
    "******Processing wangjicheng-J-14-22******\n",
    "******Processing wanglibo-J-Im29-102******\n",
    "******Processing wanglinsen-J-Im38-121******\n",
    "******Processing wangliqiang-J-20-86******\n",
    "******Processing wangqing-J-35-102******\n",
    "******Processing wangqingdong-J-Im19-88******\n",
    "******Processing wangqiyuan-J-16-62******\n",
    "******Processing wangweibo-J-Im36-149******\n",
    "******Processing wangxiaofu-S-19-29-J-19-65******\n",
    "******Processing wangxinchun-J-Im18-81******\n",
    "******Processing wangyaotang-J-Im31-100******\n",
    "******Processing wangyefu-J-Im42-112******\n",
    "******Processing wangyonghui-S-Im18-27-J-Im18-84******\n",
    "******Processing wangyuefeng-S-Im34-38-J-Im34-144******\n",
    "******Processing wangzhengjin-J-16-82******\n",
    "******Processing wangzhuxi-J-Im25-144******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/wangzhuxi-J-Im25-144/labels/wangzhuxi-J-Im25-144_0132.txt'\n",
    "******Processing wangziyang-J-Im42-95******\n",
    "******Processing weiguanxin-J-Im43-116******\n",
    "******Processing weijuyun-S-Im24-32******\n",
    "******Processing weinaichao-J-Im59-162******\n",
    "******Processing weizhiqing-J-Im33-45******\n",
    "******Processing wenyongguo-J-Im23-121******\n",
    "******Processing wujufen-J-Im31-135******\n",
    "******Processing wutonggen-S-Im22-29-J-Im22-82******\n",
    "******Processing wuwanglong-J-Im31-125******\n",
    "******Processing wuxiangyang-S-Im18-25******\n",
    "******Processing wuyingbo-J-Im36-98******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 10, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.586914, 0.754883)出界：wuyingbo-J-Im36-98_0067.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 10, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.585938, 0.750977)出界：wuyingbo-J-Im36-98_0068.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 10, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.587891, 0.753906)出界：wuyingbo-J-Im36-98_0069.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 10, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.586914, 0.751953)出界：wuyingbo-J-Im36-98_0070.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 10, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.588867, 0.75293)出界：wuyingbo-J-Im36-98_0071.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 10, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.586914, 0.75293)出界：wuyingbo-J-Im36-98_0072.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 10, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.586914, 0.75)出界：wuyingbo-J-Im36-98_0073.txt\n",
    "******Processing wuyueming-J-Im36-138******\n",
    "******Processing xiafangzhou-S-18-25-J-18-80******\n",
    "******Processing xiaminsong-S-Im40-51-J-Im40-139******\n",
    "******Processing xiangweiwen-J-25-52******\n",
    "******Processing xiashubiao-J-24-88******\n",
    "******Processing xiayunqing-J-Im33-141******\n",
    "******Processing xiechangyou-S-Im22-31-J-Im22-84******\n",
    "******Processing xingxiangjuan-J-20-76******\n",
    "******Processing xixiaoguo-S-Im16-31-J-Im16-43******\n",
    "******Processing xuanhuili-J-Im30-135******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/xuanhuili-J-Im30-135/labels/xuanhuili-J-Im30-135_0076.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/xuanhuili-J-Im30-135/labels/xuanhuili-J-Im30-135_0128.txt'\n",
    "******Processing xucaixiang-J-17-36******\n",
    "******Processing xuguochun-J-Im43-60******\n",
    "******Processing xuhangying-J-25-63******\n",
    "******Processing xuheping-S-19-35-J-19-70******\n",
    "******Processing xuhong-S-Im23-38-J-Im23-40******\n",
    "******Processing xujiahua-S-20-33-J-20-71******\n",
    "******Processing xumeijuan-J-16-66******\n",
    "******Processing xupinglun-S-18-28-J-18-32******\n",
    "******Processing xushangfa-J-Im36-141******\n",
    "******Processing xushichao-J-Im35-145******\n",
    "******Processing xuweiliang-S-22-25-J-22-74******\n",
    "******Processing xuxingzheng-J-16-63******\n",
    "******Processing xuyanfang-J-Im20-80******\n",
    "******Processing xuyaofeng-J-Im24-119******\n",
    "******Processing xuyongbiao-J-18-67******\n",
    "******Processing xuyuping-S-Im21-33-J-Im21-69******\n",
    "******Processing xuzhaofang-S-21-26-J-21-86******\n",
    "******Processing yangbaozhi-J-Im27-65******\n",
    "******Processing yangbingshui-S-Im25-33-J-Im25-56******\n",
    "******Processing yangdongshui-S-Im15-21******\n",
    "******Processing yangen-J-Im61-183******\n",
    "******Processing yanglanfen-S-Im19-33******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yanglanfen-S-Im19-33_0027.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 7, in find_coordinate\n",
    "    assert aorta == 'j', f'如果只有一个label那么此时应为降主动脉, 但实际为{aorta}：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 如果只有一个label那么此时应为降主动脉, 但实际为s：yanglanfen-S-Im19-33_0028.txt\n",
    "******Processing yangmin-J-Im37-150******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/yangmin-J-Im37-150/labels/yangmin-J-Im37-150_0147.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/yangmin-J-Im37-150/labels/yangmin-J-Im37-150_0149.txt'\n",
    "******Processing yangmingjun-S-15-24-J-15-61******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 10, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.635742, 0.750977)出界：yangmingjun-S-15-24-J-15-61_0034.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 10, in find_coordinate\n",
    "    assert 0.25 < x < 0.75 and 0.25 < y < 0.75, f'边界框中心({x}, {y})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框中心(0.637695, 0.750977)出界：yangmingjun-S-15-24-J-15-61_0035.txt\n",
    "******Processing yangxiufu-S-Im25-37-J-Im25-29******\n",
    "******Processing yangxiulian-S-Im20-26-J-Im20-44******\n",
    "******Processing yangxuehua-J-Im23-79******\n",
    "******Processing yangyuexian-S-Im38-63******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.581055, 0.751953)出界：yangyuexian-S-Im38-63_0050.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.580078, 0.754883)出界：yangyuexian-S-Im38-63_0051.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.582031, 0.754883)出界：yangyuexian-S-Im38-63_0052.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.582031, 0.755859)出界：yangyuexian-S-Im38-63_0053.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.581055, 0.756836)出界：yangyuexian-S-Im38-63_0054.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.582031, 0.758789)出界：yangyuexian-S-Im38-63_0055.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.580078, 0.758789)出界：yangyuexian-S-Im38-63_0056.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.582031, 0.757812)出界：yangyuexian-S-Im38-63_0057.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.582031, 0.758789)出界：yangyuexian-S-Im38-63_0058.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.582031, 0.758789)出界：yangyuexian-S-Im38-63_0059.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.582031, 0.756836)出界：yangyuexian-S-Im38-63_0060.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.583008, 0.756836)出界：yangyuexian-S-Im38-63_0061.txt\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 14, in find_coordinate\n",
    "    assert 0.25 < corr2[1] < 0.75 and 0.25 < corr2[2] < 0.75, f'边界框2中心({corr2[1]}, {corr2[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框2中心(0.583984, 0.754883)出界：yangyuexian-S-Im38-63_0062.txt\n",
    "******Processing yangyulin-J-Im16-58******\n",
    "******Processing yangzhanxiang-J-Im31-145******\n",
    "******Processing yangzhengfu-S-Im16-30-J-Im16-77******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/yangzhengfu-S-Im16-30-J-Im16-77/labels/yangzhengfu-S-Im16-30-J-Im16-77_0062.txt'\n",
    "******Processing yangzhicheng-J-Im19-82******\n",
    "******Processing yanjuanfeng-J-Im30-32******\n",
    "******Processing yaocaiming-J-Im26-88******\n",
    "******Processing yaojianmin-S-Im20-29-J-Im20-86******\n",
    "******Processing yaoliumei-S-Im28-39******\n",
    "******Processing yaowenhao-J-36-47******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/yaowenhao-J-36-47/labels/yaowenhao-J-36-47_0042.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/yaowenhao-J-36-47/labels/yaowenhao-J-36-47_0043.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/yaowenhao-J-36-47/labels/yaowenhao-J-36-47_0044.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/yaowenhao-J-36-47/labels/yaowenhao-J-36-47_0046.txt'\n",
    "******Processing yaozaisheng-J-Im16-28******\n",
    "******Processing yejiangen-J-15-34******\n",
    "******Processing yepeng-J-Im26-125******\n",
    "******Processing yesanghua-J-Im41-138******\n",
    "******Processing yewenyi-J-Im36-130******\n",
    "******Processing yexianchang-S-17-30-J-17-74******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 13, in find_coordinate\n",
    "    assert 0.25 < corr1[1] < 0.75 and 0.25 < corr1[2] < 0.75, f'边界框1中心({corr1[1]}, {corr1[2]})出界：{label_file.split(\"/\")[-1]}'\n",
    "AssertionError: 边界框1中心(0.597656, 0.112305)出界：yexianchang-S-17-30-J-17-74_0072.txt\n",
    "******Processing yexinxiang-S-Im32-38-J-Im32-102******\n",
    "******Processing yexiyou-J-Im35-139******\n",
    "******Processing yexiyou-S-Im19-27-J-Im19-62******\n",
    "******Processing yingguoliang-J-Im55-130******\n",
    "******Processing yingjianquan-S-Im12-14-J-Im12-36******\n",
    "******Processing yingmeiqi-S-Im22-25-J-Im16-36******\n",
    "******Processing yinshixiu-S-Im23-25-J-Im23-79******\n",
    "******Processing yintianxing-J-Im24-38******\n",
    "******Processing yinyuanyuan-J-Im20-78******\n",
    "******Processing yuanlinyue-J-Im27-120******\n",
    "******Processing yugenrong-J-Im18-60******\n",
    "******Processing yuguiji-S-31-33******\n",
    "******Processing yuguiying-S-16-22-J-16-77******\n",
    "******Processing yuguoping-J-19-35******\n",
    "******Processing yuhongliang-S-Im26-37-J-Im26-105******\n",
    "******Processing yujiada-J-Im21-48******\n",
    "******Processing yujiazhen-S-Im19-27-J-Im19-77******\n",
    "******Processing yujinfang-J-Im31-106******\n",
    "******Processing yujunying-J-15-82******\n",
    "******Processing yulinhang-J-Im14-57******\n",
    "******Processing yuyunguo-J-Im12-15******\n",
    "******Processing zengjun-J-Im22-57******\n",
    "******Processing zhanfangai-S-Im17-23-J-Im17-32******\n",
    "******Processing zhangboqian-S-Im22-32-J-Im22-88******\n",
    "******Processing zhangchaodong-J-Im20-80******\n",
    "******Processing zhangfuyang-S-Im15-20-J-Im15-87******\n",
    "******Processing zhangguangming-J-21-138******\n",
    "******Processing zhanghaitao-S-Im25-49-J-Im25-145******\n",
    "******Processing zhanghang-S-Im16-20-J-Im16-41******\n",
    "******Processing zhangjiahua-J-19-78******\n",
    "******Processing zhangjian-J-26-89******\n",
    "******Processing zhangjianliang-J-16-77******\n",
    "******Processing zhanglimin-J-Im40-149******\n",
    "******Processing zhangmaoxiang-S-25-34******\n",
    "******Processing zhangping-J-25-88******\n",
    "******Processing zhangshenxiang-J-Im41-83******\n",
    "******Processing zhangshiliang-J-Im32-49******\n",
    "******Processing zhangshiqin-J-15-22******\n",
    "******Processing zhangwei-S-20-26-J-20-61******\n",
    "******Processing zhangweiyan-J-Im40-57******\n",
    "******Processing zhangwenzhong-J-16-68******\n",
    "******Processing zhangxueqiao-S-26-31******\n",
    "******Processing zhangyide-J-Im28-107******\n",
    "******Processing zhangying-S-Im29-44******\n",
    "******Processing zhangyunqin-S-Im14-25-J-Im14-64******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/zhangyunqin-S-Im14-25-J-Im14-64/labels/zhangyunqin-S-Im14-25-J-Im14-64_0062.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/zhangyunqin-S-Im14-25-J-Im14-64/labels/zhangyunqin-S-Im14-25-J-Im14-64_0063.txt'\n",
    "******Processing zhangzhefang-S-Im22-31-J-Im22-59******\n",
    "******Processing zhaodaqing-J-Im12-68******\n",
    "******Processing zhaowenxian-J-Im43-111******\n",
    "******Processing zhaozanping-J-Im23-90******\n",
    "******Processing zhaozhengxing-J-Im35-99******\n",
    "******Processing zhengchong-S-16-31-J-16-87******\n",
    "******Processing zhengguozheng-J-18-81******\n",
    "******Processing zhengjiyou-J-Im28-136******\n",
    "******Processing zhenhui-J-Im28-101******\n",
    "******Processing zhongchuankun-J-17-69******\n",
    "******Processing zhongweiliang-J-Im66-170******\n",
    "******Processing zhongxuefang-S-Im19-34-J-Im19-72******\n",
    "******Processing zhoubozhong-J-Im29-131******\n",
    "******Processing zhoufeng-S-Im35-40-J-Im35-147******\n",
    "******Processing zhoufengnian-J-Im24-121******\n",
    "******Processing zhouguoyang-J-Im31-96******\n",
    "******Processing zhoujianglong-S-17-31******\n",
    "******Processing zhouliang-J-Im47-123******\n",
    "******Processing zhoumingfang-J-Im36-41******\n",
    "******Processing zhourongjie-S-Im19-27-J-Im19-64******\n",
    "******Processing zhousuhua-J-Im25-96******\n",
    "******Processing zhouweigui-J-21-80******\n",
    "******Processing zhouyingnan-J-Im47-125******\n",
    "******Processing zhuchunguang-J-Im21-86******\n",
    "******Processing zhuhancheng-S-Im27-36-J-Im27-86******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/zhuhancheng-S-Im27-36-J-Im27-86/labels/zhuhancheng-S-Im27-36-J-Im27-86_0073.txt'\n",
    "******Processing zhujunfei-J-Im24-88******\n",
    "******Processing zhuseng-S-Im24-31-J-Im24-105******\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/zhuseng-S-Im24-31-J-Im24-105/labels/zhuseng-S-Im24-31-J-Im24-105_0078.txt'\n",
    "Traceback (most recent call last):\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 47, in crop_images\n",
    "    x1, y1, x2, y2 = find_coordinate(*img.shape[0:2], os.path.join(label_path, f'{patient}_{j:04d}.txt'), s)\n",
    "  File \"/tmp/ipykernel_37964/2383861520.py\", line 3, in find_coordinate\n",
    "    with open(label_file, 'r') as f:\n",
    "FileNotFoundError: [Errno 2] No such file or directory: '/nfs3-p1/zsxm/dataset/aorta_ct_img_label/positive/zhuseng-S-Im24-31-J-Im24-105/labels/zhuseng-S-Im24-31-J-Im24-105_0087.txt'\n",
    "******Processing zhuxinjian-J-20-23******\n",
    "******Processing zhuxutao-J-Im23-78******\n",
    "******Processing zhuyongfu-J-Im22-80******\n",
    "******Processing zhuyuejin-J-Im21-72******\n",
    "******Processing zongminghui-S-Im18-25-J-Im18-81******"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.13"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
